ast_expr2.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /* A Bison parser, made by GNU Bison 2.4.1. */
  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 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. /* Tokens. */
  27. #ifndef YYTOKENTYPE
  28. # define YYTOKENTYPE
  29. /* Put the tokens into the symbol table, so that GDB and other debuggers
  30. know about them. */
  31. enum yytokentype {
  32. TOK_COMMA = 258,
  33. TOK_COLONCOLON = 259,
  34. TOK_COND = 260,
  35. TOK_OR = 261,
  36. TOK_AND = 262,
  37. TOK_NE = 263,
  38. TOK_LE = 264,
  39. TOK_GE = 265,
  40. TOK_LT = 266,
  41. TOK_GT = 267,
  42. TOK_EQ = 268,
  43. TOK_MINUS = 269,
  44. TOK_PLUS = 270,
  45. TOK_MOD = 271,
  46. TOK_DIV = 272,
  47. TOK_MULT = 273,
  48. TOK_COMPL = 274,
  49. TOK_TILDETILDE = 275,
  50. TOK_EQTILDE = 276,
  51. TOK_COLON = 277,
  52. TOK_LP = 278,
  53. TOK_RP = 279,
  54. TOKEN = 280
  55. };
  56. #endif
  57. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  58. typedef union YYSTYPE
  59. {
  60. /* Line 1676 of yacc.c */
  61. #line 345 "ast_expr2.y"
  62. struct val *val;
  63. struct expr_node *arglist;
  64. /* Line 1676 of yacc.c */
  65. #line 84 "ast_expr2.h"
  66. } YYSTYPE;
  67. # define YYSTYPE_IS_TRIVIAL 1
  68. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  69. # define YYSTYPE_IS_DECLARED 1
  70. #endif
  71. #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
  72. typedef struct YYLTYPE
  73. {
  74. int first_line;
  75. int first_column;
  76. int last_line;
  77. int last_column;
  78. } YYLTYPE;
  79. # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
  80. # define YYLTYPE_IS_DECLARED 1
  81. # define YYLTYPE_IS_TRIVIAL 1
  82. #endif