cmFortranParserTokens.h 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /* A Bison parser, made by GNU Bison 3.0.4. */
  2. /* Bison interface for Yacc-like parsers in C
  3. Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  14. /* As a special exception, you may create a larger work that contains
  15. part or all of the Bison parser skeleton and distribute that work
  16. under terms of your choice, so long as that work isn't itself a
  17. parser generator using the skeleton or a modified version thereof
  18. as a parser skeleton. Alternatively, if you modify or redistribute
  19. the parser skeleton itself, you may (at your option) remove this
  20. special exception, which will cause the skeleton and the resulting
  21. Bison output files to be licensed under the GNU General Public
  22. License without this special exception.
  23. This special exception was added by the Free Software Foundation in
  24. version 2.2 of Bison. */
  25. #ifndef YY_CMFORTRAN_YY_CMFORTRANPARSERTOKENS_H_INCLUDED
  26. # define YY_CMFORTRAN_YY_CMFORTRANPARSERTOKENS_H_INCLUDED
  27. /* Debug traces. */
  28. #ifndef YYDEBUG
  29. # define YYDEBUG 0
  30. #endif
  31. #if YYDEBUG
  32. extern int cmFortran_yydebug;
  33. #endif
  34. /* Token type. */
  35. #ifndef YYTOKENTYPE
  36. # define YYTOKENTYPE
  37. enum yytokentype
  38. {
  39. EOSTMT = 258,
  40. ASSIGNMENT_OP = 259,
  41. GARBAGE = 260,
  42. CPP_LINE_DIRECTIVE = 261,
  43. CPP_INCLUDE = 262,
  44. F90PPR_INCLUDE = 263,
  45. COCO_INCLUDE = 264,
  46. F90PPR_DEFINE = 265,
  47. CPP_DEFINE = 266,
  48. F90PPR_UNDEF = 267,
  49. CPP_UNDEF = 268,
  50. CPP_IFDEF = 269,
  51. CPP_IFNDEF = 270,
  52. CPP_IF = 271,
  53. CPP_ELSE = 272,
  54. CPP_ELIF = 273,
  55. CPP_ENDIF = 274,
  56. F90PPR_IFDEF = 275,
  57. F90PPR_IFNDEF = 276,
  58. F90PPR_IF = 277,
  59. F90PPR_ELSE = 278,
  60. F90PPR_ELIF = 279,
  61. F90PPR_ENDIF = 280,
  62. COMMA = 281,
  63. COLON = 282,
  64. DCOLON = 283,
  65. LPAREN = 284,
  66. RPAREN = 285,
  67. UNTERMINATED_STRING = 286,
  68. STRING = 287,
  69. WORD = 288,
  70. CPP_INCLUDE_ANGLE = 289,
  71. END = 290,
  72. INCLUDE = 291,
  73. INTERFACE = 292,
  74. MODULE = 293,
  75. SUBMODULE = 294,
  76. USE = 295
  77. };
  78. #endif
  79. /* Tokens. */
  80. #define EOSTMT 258
  81. #define ASSIGNMENT_OP 259
  82. #define GARBAGE 260
  83. #define CPP_LINE_DIRECTIVE 261
  84. #define CPP_INCLUDE 262
  85. #define F90PPR_INCLUDE 263
  86. #define COCO_INCLUDE 264
  87. #define F90PPR_DEFINE 265
  88. #define CPP_DEFINE 266
  89. #define F90PPR_UNDEF 267
  90. #define CPP_UNDEF 268
  91. #define CPP_IFDEF 269
  92. #define CPP_IFNDEF 270
  93. #define CPP_IF 271
  94. #define CPP_ELSE 272
  95. #define CPP_ELIF 273
  96. #define CPP_ENDIF 274
  97. #define F90PPR_IFDEF 275
  98. #define F90PPR_IFNDEF 276
  99. #define F90PPR_IF 277
  100. #define F90PPR_ELSE 278
  101. #define F90PPR_ELIF 279
  102. #define F90PPR_ENDIF 280
  103. #define COMMA 281
  104. #define COLON 282
  105. #define DCOLON 283
  106. #define LPAREN 284
  107. #define RPAREN 285
  108. #define UNTERMINATED_STRING 286
  109. #define STRING 287
  110. #define WORD 288
  111. #define CPP_INCLUDE_ANGLE 289
  112. #define END 290
  113. #define INCLUDE 291
  114. #define INTERFACE 292
  115. #define MODULE 293
  116. #define SUBMODULE 294
  117. #define USE 295
  118. /* Value type. */
  119. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  120. union YYSTYPE
  121. {
  122. #line 70 "cmFortranParser.y" /* yacc.c:1909 */
  123. char* string;
  124. #line 138 "cmFortranParserTokens.h" /* yacc.c:1909 */
  125. };
  126. typedef union YYSTYPE YYSTYPE;
  127. # define YYSTYPE_IS_TRIVIAL 1
  128. # define YYSTYPE_IS_DECLARED 1
  129. #endif
  130. int cmFortran_yyparse (yyscan_t yyscanner);
  131. #endif /* !YY_CMFORTRAN_YY_CMFORTRANPARSERTOKENS_H_INCLUDED */