parse.h_shipped 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /* A Bison parser, made by GNU Bison 2.3. */
  2. /* Skeleton interface for Bison's Yacc-like parsers in C
  3. Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
  4. Free Software Foundation, 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 2, or (at your option)
  8. 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, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street, Fifth Floor,
  16. Boston, MA 02110-1301, USA. */
  17. /* As a special exception, you may create a larger work that contains
  18. part or all of the Bison parser skeleton and distribute that work
  19. under terms of your choice, so long as that work isn't itself a
  20. parser generator using the skeleton or a modified version thereof
  21. as a parser skeleton. Alternatively, if you modify or redistribute
  22. the parser skeleton itself, you may (at your option) remove this
  23. special exception, which will cause the skeleton and the resulting
  24. Bison output files to be licensed under the GNU General Public
  25. License without this special exception.
  26. This special exception was added by the Free Software Foundation in
  27. version 2.2 of Bison. */
  28. /* Tokens. */
  29. #ifndef YYTOKENTYPE
  30. # define YYTOKENTYPE
  31. /* Put the tokens into the symbol table, so that GDB and other debuggers
  32. know about them. */
  33. enum yytokentype {
  34. ASM_KEYW = 258,
  35. ATTRIBUTE_KEYW = 259,
  36. AUTO_KEYW = 260,
  37. BOOL_KEYW = 261,
  38. CHAR_KEYW = 262,
  39. CONST_KEYW = 263,
  40. DOUBLE_KEYW = 264,
  41. ENUM_KEYW = 265,
  42. EXTERN_KEYW = 266,
  43. EXTENSION_KEYW = 267,
  44. FLOAT_KEYW = 268,
  45. INLINE_KEYW = 269,
  46. INT_KEYW = 270,
  47. LONG_KEYW = 271,
  48. REGISTER_KEYW = 272,
  49. RESTRICT_KEYW = 273,
  50. SHORT_KEYW = 274,
  51. SIGNED_KEYW = 275,
  52. STATIC_KEYW = 276,
  53. STRUCT_KEYW = 277,
  54. TYPEDEF_KEYW = 278,
  55. UNION_KEYW = 279,
  56. UNSIGNED_KEYW = 280,
  57. VOID_KEYW = 281,
  58. VOLATILE_KEYW = 282,
  59. TYPEOF_KEYW = 283,
  60. EXPORT_SYMBOL_KEYW = 284,
  61. ASM_PHRASE = 285,
  62. ATTRIBUTE_PHRASE = 286,
  63. BRACE_PHRASE = 287,
  64. BRACKET_PHRASE = 288,
  65. EXPRESSION_PHRASE = 289,
  66. CHAR = 290,
  67. DOTS = 291,
  68. IDENT = 292,
  69. INT = 293,
  70. REAL = 294,
  71. STRING = 295,
  72. TYPE = 296,
  73. OTHER = 297,
  74. FILENAME = 298
  75. };
  76. #endif
  77. /* Tokens. */
  78. #define ASM_KEYW 258
  79. #define ATTRIBUTE_KEYW 259
  80. #define AUTO_KEYW 260
  81. #define BOOL_KEYW 261
  82. #define CHAR_KEYW 262
  83. #define CONST_KEYW 263
  84. #define DOUBLE_KEYW 264
  85. #define ENUM_KEYW 265
  86. #define EXTERN_KEYW 266
  87. #define EXTENSION_KEYW 267
  88. #define FLOAT_KEYW 268
  89. #define INLINE_KEYW 269
  90. #define INT_KEYW 270
  91. #define LONG_KEYW 271
  92. #define REGISTER_KEYW 272
  93. #define RESTRICT_KEYW 273
  94. #define SHORT_KEYW 274
  95. #define SIGNED_KEYW 275
  96. #define STATIC_KEYW 276
  97. #define STRUCT_KEYW 277
  98. #define TYPEDEF_KEYW 278
  99. #define UNION_KEYW 279
  100. #define UNSIGNED_KEYW 280
  101. #define VOID_KEYW 281
  102. #define VOLATILE_KEYW 282
  103. #define TYPEOF_KEYW 283
  104. #define EXPORT_SYMBOL_KEYW 284
  105. #define ASM_PHRASE 285
  106. #define ATTRIBUTE_PHRASE 286
  107. #define BRACE_PHRASE 287
  108. #define BRACKET_PHRASE 288
  109. #define EXPRESSION_PHRASE 289
  110. #define CHAR 290
  111. #define DOTS 291
  112. #define IDENT 292
  113. #define INT 293
  114. #define REAL 294
  115. #define STRING 295
  116. #define TYPE 296
  117. #define OTHER 297
  118. #define FILENAME 298
  119. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  120. typedef int YYSTYPE;
  121. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  122. # define YYSTYPE_IS_DECLARED 1
  123. # define YYSTYPE_IS_TRIVIAL 1
  124. #endif
  125. extern YYSTYPE yylval;