y.tab.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /* A Bison parser, made by GNU Bison 3.0.5. */
  2. /* Bison interface for Yacc-like parsers in C
  3. Copyright (C) 1984, 1989-1990, 2000-2015, 2018 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_YY_Y_TAB_H_INCLUDED
  26. # define YY_YY_Y_TAB_H_INCLUDED
  27. /* Debug traces. */
  28. #ifndef YYDEBUG
  29. # define YYDEBUG 0
  30. #endif
  31. #if YYDEBUG
  32. extern int yydebug;
  33. #endif
  34. /* Token type. */
  35. #ifndef YYTOKENTYPE
  36. # define YYTOKENTYPE
  37. enum yytokentype
  38. {
  39. Tfmt = 258,
  40. Toror = 259,
  41. Tandand = 260,
  42. Teq = 261,
  43. Tneq = 262,
  44. Tleq = 263,
  45. Tgeq = 264,
  46. Tlsh = 265,
  47. Trsh = 266,
  48. Tdec = 267,
  49. Tinc = 268,
  50. Tindir = 269,
  51. Tid = 270,
  52. Tconst = 271,
  53. Tfconst = 272,
  54. Tstring = 273,
  55. Tif = 274,
  56. Tdo = 275,
  57. Tthen = 276,
  58. Telse = 277,
  59. Twhile = 278,
  60. Tloop = 279,
  61. Thead = 280,
  62. Ttail = 281,
  63. Tappend = 282,
  64. Tfn = 283,
  65. Tret = 284,
  66. Tlocal = 285,
  67. Tcomplex = 286,
  68. Twhat = 287,
  69. Tdelete = 288,
  70. Teval = 289,
  71. Tbuiltin = 290
  72. };
  73. #endif
  74. /* Tokens. */
  75. #define Tfmt 258
  76. #define Toror 259
  77. #define Tandand 260
  78. #define Teq 261
  79. #define Tneq 262
  80. #define Tleq 263
  81. #define Tgeq 264
  82. #define Tlsh 265
  83. #define Trsh 266
  84. #define Tdec 267
  85. #define Tinc 268
  86. #define Tindir 269
  87. #define Tid 270
  88. #define Tconst 271
  89. #define Tfconst 272
  90. #define Tstring 273
  91. #define Tif 274
  92. #define Tdo 275
  93. #define Tthen 276
  94. #define Telse 277
  95. #define Twhile 278
  96. #define Tloop 279
  97. #define Thead 280
  98. #define Ttail 281
  99. #define Tappend 282
  100. #define Tfn 283
  101. #define Tret 284
  102. #define Tlocal 285
  103. #define Tcomplex 286
  104. #define Twhat 287
  105. #define Tdelete 288
  106. #define Teval 289
  107. #define Tbuiltin 290
  108. /* Value type. */
  109. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  110. union YYSTYPE
  111. {
  112. #line 13 "dbg.y" /* yacc.c:1910 */
  113. Node *node;
  114. Lsym *sym;
  115. uint64_t ival;
  116. float fval;
  117. String *string;
  118. #line 132 "y.tab.h" /* yacc.c:1910 */
  119. };
  120. typedef union YYSTYPE YYSTYPE;
  121. # define YYSTYPE_IS_TRIVIAL 1
  122. # define YYSTYPE_IS_DECLARED 1
  123. #endif
  124. extern YYSTYPE yylval;
  125. int yyparse (void);
  126. #endif /* !YY_YY_Y_TAB_H_INCLUDED */