ast_expr2.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /* A Bison parser, made by GNU Bison 2.0. */
  2. /* Skeleton parser for Yacc-like parsing with Bison,
  3. Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 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 2, or (at your option)
  7. 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, write to the Free Software
  14. Foundation, Inc., 59 Temple Place - Suite 330,
  15. Boston, MA 02111-1307, USA. */
  16. /* As a special exception, when this file is copied by Bison into a
  17. Bison output file, you may use that output file without restriction.
  18. This special exception was added by the Free Software Foundation
  19. in version 1.24 of Bison. */
  20. /* Tokens. */
  21. #ifndef YYTOKENTYPE
  22. # define YYTOKENTYPE
  23. /* Put the tokens into the symbol table, so that GDB and other debuggers
  24. know about them. */
  25. enum yytokentype {
  26. TOK_COLONCOLON = 258,
  27. TOK_COND = 259,
  28. TOK_OR = 260,
  29. TOK_AND = 261,
  30. TOK_NE = 262,
  31. TOK_LE = 263,
  32. TOK_GE = 264,
  33. TOK_LT = 265,
  34. TOK_GT = 266,
  35. TOK_EQ = 267,
  36. TOK_MINUS = 268,
  37. TOK_PLUS = 269,
  38. TOK_MOD = 270,
  39. TOK_DIV = 271,
  40. TOK_MULT = 272,
  41. TOK_COMPL = 273,
  42. TOK_EQTILDE = 274,
  43. TOK_COLON = 275,
  44. TOK_LP = 276,
  45. TOK_RP = 277,
  46. TOKEN = 278
  47. };
  48. #endif
  49. #define TOK_COLONCOLON 258
  50. #define TOK_COND 259
  51. #define TOK_OR 260
  52. #define TOK_AND 261
  53. #define TOK_NE 262
  54. #define TOK_LE 263
  55. #define TOK_GE 264
  56. #define TOK_LT 265
  57. #define TOK_GT 266
  58. #define TOK_EQ 267
  59. #define TOK_MINUS 268
  60. #define TOK_PLUS 269
  61. #define TOK_MOD 270
  62. #define TOK_DIV 271
  63. #define TOK_MULT 272
  64. #define TOK_COMPL 273
  65. #define TOK_EQTILDE 274
  66. #define TOK_COLON 275
  67. #define TOK_LP 276
  68. #define TOK_RP 277
  69. #define TOKEN 278
  70. #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
  71. #line 142 "ast_expr2.y"
  72. typedef union YYSTYPE {
  73. struct val *val;
  74. } YYSTYPE;
  75. /* Line 1318 of yacc.c. */
  76. #line 87 "ast_expr2.h"
  77. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  78. # define YYSTYPE_IS_DECLARED 1
  79. # define YYSTYPE_IS_TRIVIAL 1
  80. #endif
  81. #if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED)
  82. typedef struct YYLTYPE
  83. {
  84. int first_line;
  85. int first_column;
  86. int last_line;
  87. int last_column;
  88. } YYLTYPE;
  89. # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
  90. # define YYLTYPE_IS_DECLARED 1
  91. # define YYLTYPE_IS_TRIVIAL 1
  92. #endif