diff options
author | Brad King <brad.king@kitware.com> | 2012-05-22 14:07:24 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-05-22 14:07:24 -0400 |
commit | ad2107903a28e8e41b3170ee6089f7c080c49614 (patch) | |
tree | 27679f4929b4034f2b9eb75b42e46bd11d87c123 /Source/cmDependsFortranParserTokens.h | |
parent | f2656e4ccb7b05cb1bef17ccf61dc9af7ed3f5fc (diff) | |
download | cmake-ad2107903a28e8e41b3170ee6089f7c080c49614.tar.gz |
Fortran: Follow <>-style includes (#13239)
Fortran sources that pass through the C preprocessor may use
#include "header"
syntax or
#include <header>
syntax. CMake already follows the former. Teach it to follow the
latter.
Diffstat (limited to 'Source/cmDependsFortranParserTokens.h')
-rw-r--r-- | Source/cmDependsFortranParserTokens.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Source/cmDependsFortranParserTokens.h b/Source/cmDependsFortranParserTokens.h index 0bbcaaea1a..941eda09c4 100644 --- a/Source/cmDependsFortranParserTokens.h +++ b/Source/cmDependsFortranParserTokens.h @@ -1,9 +1,8 @@ -/* A Bison parser, made by GNU Bison 2.4.1. */ +/* A Bison parser, made by GNU Bison 2.5. */ -/* Skeleton interface for Bison's Yacc-like parsers in C +/* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,6 +30,7 @@ This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ + /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE @@ -64,7 +64,8 @@ CPP_TOENDL = 282, UNTERMINATED_STRING = 283, STRING = 284, - WORD = 285 + WORD = 285, + CPP_INCLUDE_ANGLE = 286 }; #endif /* Tokens. */ @@ -96,6 +97,7 @@ #define UNTERMINATED_STRING 283 #define STRING 284 #define WORD 285 +#define CPP_INCLUDE_ANGLE 286 @@ -104,12 +106,14 @@ typedef union YYSTYPE { -/* Line 1676 of yacc.c */ -#line 94 "cmDependsFortranParser.y" +/* Line 2068 of yacc.c */ +#line 89 "cmDependsFortranParser.y" char* string; -/* Line 1676 of yacc.c */ + + +/* Line 2068 of yacc.c */ #line 118 "cmDependsFortranParserTokens.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 |