1
0

y.tab.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. VALUE = 258,
  35. IDENTIFIER = 259,
  36. TOKEN_SHL = 260,
  37. TOKEN_SHR = 261,
  38. TOKEN_LTE = 262,
  39. TOKEN_GTE = 263,
  40. TOKEN_EQ = 264,
  41. TOKEN_EQ_EXACT = 265,
  42. TOKEN_NE = 266,
  43. TOKEN_NE_EXACT = 267,
  44. TOKEN_LOGICAL_AND = 268,
  45. TOKEN_LOGICAL_OR = 269,
  46. TOKEN_ADD_OP = 270,
  47. TOKEN_SUB_OP = 271,
  48. TOKEN_MOD_OP = 272,
  49. TOKEN_OR_OP = 273,
  50. TOKEN_AND_OP = 274,
  51. TOKEN_XOR_OP = 275,
  52. TOKEN_DIV_OP = 276,
  53. TOKEN_MUL_OP = 277,
  54. TOKEN_POW_OP = 278,
  55. STRING_LITERAL = 279,
  56. STRING_IDENTIFIER = 280
  57. };
  58. #endif
  59. /* Tokens. */
  60. #define VALUE 258
  61. #define IDENTIFIER 259
  62. #define TOKEN_SHL 260
  63. #define TOKEN_SHR 261
  64. #define TOKEN_LTE 262
  65. #define TOKEN_GTE 263
  66. #define TOKEN_EQ 264
  67. #define TOKEN_EQ_EXACT 265
  68. #define TOKEN_NE 266
  69. #define TOKEN_NE_EXACT 267
  70. #define TOKEN_LOGICAL_AND 268
  71. #define TOKEN_LOGICAL_OR 269
  72. #define TOKEN_ADD_OP 270
  73. #define TOKEN_SUB_OP 271
  74. #define TOKEN_MOD_OP 272
  75. #define TOKEN_OR_OP 273
  76. #define TOKEN_AND_OP 274
  77. #define TOKEN_XOR_OP 275
  78. #define TOKEN_DIV_OP 276
  79. #define TOKEN_MUL_OP 277
  80. #define TOKEN_POW_OP 278
  81. #define STRING_LITERAL 279
  82. #define STRING_IDENTIFIER 280
  83. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  84. typedef int YYSTYPE;
  85. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  86. # define YYSTYPE_IS_DECLARED 1
  87. # define YYSTYPE_IS_TRIVIAL 1
  88. #endif
  89. #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
  90. typedef struct YYLTYPE
  91. {
  92. int first_line;
  93. int first_column;
  94. int last_line;
  95. int last_column;
  96. } YYLTYPE;
  97. # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
  98. # define YYLTYPE_IS_DECLARED 1
  99. # define YYLTYPE_IS_TRIVIAL 1
  100. #endif