summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortranParserTokens.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-24 03:53:20 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-24 03:53:20 (GMT)
commit5bf6dba9e86b8686532b63f90c8f2f936c13020a (patch)
tree146b3584d56cb8aa8320da96027344b3b2478087 /Source/cmDependsFortranParserTokens.h
parent4cf167173fb3b3d3da4aa543b34896fb3e677483 (diff)
downloadCMake-5bf6dba9e86b8686532b63f90c8f2f936c13020a.zip
CMake-5bf6dba9e86b8686532b63f90c8f2f936c13020a.tar.gz
CMake-5bf6dba9e86b8686532b63f90c8f2f936c13020a.tar.bz2
ENH: Patch from Maik to add Fortran03 USE syntax support.
- I tweaked the patch to add 'other' production rules for COMMA and DCOLON - See issue #6884.
Diffstat (limited to 'Source/cmDependsFortranParserTokens.h')
-rw-r--r--Source/cmDependsFortranParserTokens.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/Source/cmDependsFortranParserTokens.h b/Source/cmDependsFortranParserTokens.h
index 97f48a6..6079279 100644
--- a/Source/cmDependsFortranParserTokens.h
+++ b/Source/cmDependsFortranParserTokens.h
@@ -61,10 +61,12 @@
F90PPR_ELSE = 277,
F90PPR_ELIF = 278,
F90PPR_ENDIF = 279,
- CPP_TOENDL = 280,
- UNTERMINATED_STRING = 281,
- STRING = 282,
- WORD = 283
+ COMMA = 280,
+ DCOLON = 281,
+ CPP_TOENDL = 282,
+ UNTERMINATED_STRING = 283,
+ STRING = 284,
+ WORD = 285
};
#endif
/* Tokens. */
@@ -90,22 +92,24 @@
#define F90PPR_ELSE 277
#define F90PPR_ELIF 278
#define F90PPR_ENDIF 279
-#define CPP_TOENDL 280
-#define UNTERMINATED_STRING 281
-#define STRING 282
-#define WORD 283
+#define COMMA 280
+#define DCOLON 281
+#define CPP_TOENDL 282
+#define UNTERMINATED_STRING 283
+#define STRING 284
+#define WORD 285
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
-#line 81 "cmDependsFortranParser.y"
+#line 141 "cmDependsFortranParser.y"
{
char* string;
}
/* Line 1489 of yacc.c. */
-#line 109 "cmDependsFortranParserTokens.h"
+#line 113 "cmDependsFortranParserTokens.h"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1