cmFortranParserTokens.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /* A Bison parser, made by GNU Bison 3.0.2. */
  2. /* Bison interface for Yacc-like parsers in C
  3. Copyright (C) 1984, 1989-1990, 2000-2013 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_INCLUDE = 261,
  43. F90PPR_INCLUDE = 262,
  44. COCO_INCLUDE = 263,
  45. F90PPR_DEFINE = 264,
  46. CPP_DEFINE = 265,
  47. F90PPR_UNDEF = 266,
  48. CPP_UNDEF = 267,
  49. CPP_IFDEF = 268,
  50. CPP_IFNDEF = 269,
  51. CPP_IF = 270,
  52. CPP_ELSE = 271,
  53. CPP_ELIF = 272,
  54. CPP_ENDIF = 273,
  55. F90PPR_IFDEF = 274,
  56. F90PPR_IFNDEF = 275,
  57. F90PPR_IF = 276,
  58. F90PPR_ELSE = 277,
  59. F90PPR_ELIF = 278,
  60. F90PPR_ENDIF = 279,
  61. COMMA = 280,
  62. DCOLON = 281,
  63. CPP_TOENDL = 282,
  64. UNTERMINATED_STRING = 283,
  65. STRING = 284,
  66. WORD = 285,
  67. CPP_INCLUDE_ANGLE = 286
  68. };
  69. #endif
  70. /* Tokens. */
  71. #define EOSTMT 258
  72. #define ASSIGNMENT_OP 259
  73. #define GARBAGE 260
  74. #define CPP_INCLUDE 261
  75. #define F90PPR_INCLUDE 262
  76. #define COCO_INCLUDE 263
  77. #define F90PPR_DEFINE 264
  78. #define CPP_DEFINE 265
  79. #define F90PPR_UNDEF 266
  80. #define CPP_UNDEF 267
  81. #define CPP_IFDEF 268
  82. #define CPP_IFNDEF 269
  83. #define CPP_IF 270
  84. #define CPP_ELSE 271
  85. #define CPP_ELIF 272
  86. #define CPP_ENDIF 273
  87. #define F90PPR_IFDEF 274
  88. #define F90PPR_IFNDEF 275
  89. #define F90PPR_IF 276
  90. #define F90PPR_ELSE 277
  91. #define F90PPR_ELIF 278
  92. #define F90PPR_ENDIF 279
  93. #define COMMA 280
  94. #define DCOLON 281
  95. #define CPP_TOENDL 282
  96. #define UNTERMINATED_STRING 283
  97. #define STRING 284
  98. #define WORD 285
  99. #define CPP_INCLUDE_ANGLE 286
  100. /* Value type. */
  101. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  102. typedef union YYSTYPE YYSTYPE;
  103. union YYSTYPE
  104. {
  105. #line 81 "cmFortranParser.y" /* yacc.c:1909 */
  106. char* string;
  107. #line 120 "cmFortranParserTokens.h" /* yacc.c:1909 */
  108. };
  109. # define YYSTYPE_IS_TRIVIAL 1
  110. # define YYSTYPE_IS_DECLARED 1
  111. #endif
  112. int cmFortran_yyparse (yyscan_t yyscanner);
  113. #endif /* !YY_CMFORTRAN_YY_CMFORTRANPARSERTOKENS_H_INCLUDED */