cmFortranParserTokens.h 4.0 KB

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