1 | /* A Bison parser, made by GNU Bison 3.7.4. */
2 |
3 | /* Bison interface for Yacc-like parsers in C
4 |
5 | Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
6 | Inc.
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or
11 | (at your option) any later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 |
21 | /* As a special exception, you may create a larger work that contains
22 | part or all of the Bison parser skeleton and distribute that work
23 | under terms of your choice, so long as that work isn't itself a
24 | parser generator using the skeleton or a modified version thereof
25 | as a parser skeleton. Alternatively, if you modify or redistribute
26 | the parser skeleton itself, you may (at your option) remove this
27 | special exception, which will cause the skeleton and the resulting
28 | Bison output files to be licensed under the GNU General Public
29 | License without this special exception.
30 |
31 | This special exception was added by the Free Software Foundation in
32 | version 2.2 of Bison. */
33 |
34 | /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
35 | especially those whose name start with YY_ or yy_. They are
36 | private implementation details that can be changed or removed. */
37 |
38 | #ifndef YY_YY_Y_TAB_H_INCLUDED
39 | # define YY_YY_Y_TAB_H_INCLUDED
40 | /* Debug traces. */
41 | #ifndef YYDEBUG
42 | # define YYDEBUG 0
43 | #endif
44 | #if YYDEBUG
45 | extern int yydebug;
46 | #endif
47 |
48 | /* Token kinds. */
49 | #ifndef YYTOKENTYPE
50 | # define YYTOKENTYPE
51 | enum yytokentype
52 | {
53 | YYEMPTY = -2,
54 | YYEOF = 0, /* "end of file" */
55 | YYerror = 256, /* error */
56 | YYUNDEF = 257, /* "invalid token" */
57 | IDENTIFIER = 258, /* IDENTIFIER */
58 | TYPE_NAME = 259, /* TYPE_NAME */
59 | LITERAL = 260, /* LITERAL */
60 | STRING_LITERAL = 261, /* STRING_LITERAL */
61 | ELLIPSES = 262, /* ELLIPSES */
62 | MUL_ASSIGN = 263, /* MUL_ASSIGN */
63 | DIV_ASSIGN = 264, /* DIV_ASSIGN */
64 | MOD_ASSIGN = 265, /* MOD_ASSIGN */
65 | ADD_ASSIGN = 266, /* ADD_ASSIGN */
66 | SUB_ASSIGN = 267, /* SUB_ASSIGN */
67 | LEFT_ASSIGN = 268, /* LEFT_ASSIGN */
68 | RIGHT_ASSIGN = 269, /* RIGHT_ASSIGN */
69 | AND_ASSIGN = 270, /* AND_ASSIGN */
70 | XOR_ASSIGN = 271, /* XOR_ASSIGN */
71 | OR_ASSIGN = 272, /* OR_ASSIGN */
72 | EQ_OP = 273, /* EQ_OP */
73 | NE_OP = 274, /* NE_OP */
74 | PTR_OP = 275, /* PTR_OP */
75 | AND_OP = 276, /* AND_OP */
76 | OR_OP = 277, /* OR_OP */
77 | DEC_OP = 278, /* DEC_OP */
78 | INC_OP = 279, /* INC_OP */
79 | LE_OP = 280, /* LE_OP */
80 | GE_OP = 281, /* GE_OP */
81 | LEFT_SHIFT = 282, /* LEFT_SHIFT */
82 | RIGHT_SHIFT = 283, /* RIGHT_SHIFT */
83 | SIZEOF = 284, /* SIZEOF */
84 | TYPEDEF = 285, /* TYPEDEF */
85 | EXTERN = 286, /* EXTERN */
86 | STATIC = 287, /* STATIC */
87 | AUTO = 288, /* AUTO */
88 | REGISTER = 289, /* REGISTER */
89 | CONST = 290, /* CONST */
90 | VOLATILE = 291, /* VOLATILE */
91 | VOID = 292, /* VOID */
92 | INLINE = 293, /* INLINE */
93 | CHAR = 294, /* CHAR */
94 | SHORT = 295, /* SHORT */
95 | INT = 296, /* INT */
96 | LONG = 297, /* LONG */
97 | SIGNED = 298, /* SIGNED */
98 | UNSIGNED = 299, /* UNSIGNED */
99 | FLOAT = 300, /* FLOAT */
100 | DOUBLE = 301, /* DOUBLE */
101 | BOOL = 302, /* BOOL */
102 | STRUCT = 303, /* STRUCT */
103 | UNION = 304, /* UNION */
104 | ENUM = 305, /* ENUM */
105 | CASE = 306, /* CASE */
106 | DEFAULT = 307, /* DEFAULT */
107 | IF = 308, /* IF */
108 | ELSE = 309, /* ELSE */
109 | SWITCH = 310, /* SWITCH */
110 | WHILE = 311, /* WHILE */
111 | DO = 312, /* DO */
112 | FOR = 313, /* FOR */
113 | GOTO = 314, /* GOTO */
114 | CONTINUE = 315, /* CONTINUE */
115 | BREAK = 316, /* BREAK */
116 | RETURN = 317, /* RETURN */
117 | ASM = 318 /* ASM */
118 | };
119 | typedef enum yytokentype yytoken_kind_t;
120 | #endif
121 | /* Token kinds. */
122 | #define YYEMPTY -2
123 | #define YYEOF 0
124 | #define YYerror 256
125 | #define YYUNDEF 257
126 | #define IDENTIFIER 258
127 | #define TYPE_NAME 259
128 | #define LITERAL 260
129 | #define STRING_LITERAL 261
130 | #define ELLIPSES 262
131 | #define MUL_ASSIGN 263
132 | #define DIV_ASSIGN 264
133 | #define MOD_ASSIGN 265
134 | #define ADD_ASSIGN 266
135 | #define SUB_ASSIGN 267
136 | #define LEFT_ASSIGN 268
137 | #define RIGHT_ASSIGN 269
138 | #define AND_ASSIGN 270
139 | #define XOR_ASSIGN 271
140 | #define OR_ASSIGN 272
141 | #define EQ_OP 273
142 | #define NE_OP 274
143 | #define PTR_OP 275
144 | #define AND_OP 276
145 | #define OR_OP 277
146 | #define DEC_OP 278
147 | #define INC_OP 279
148 | #define LE_OP 280
149 | #define GE_OP 281
150 | #define LEFT_SHIFT 282
151 | #define RIGHT_SHIFT 283
152 | #define SIZEOF 284
153 | #define TYPEDEF 285
154 | #define EXTERN 286
155 | #define STATIC 287
156 | #define AUTO 288
157 | #define REGISTER 289
158 | #define CONST 290
159 | #define VOLATILE 291
160 | #define VOID 292
161 | #define INLINE 293
162 | #define CHAR 294
163 | #define SHORT 295
164 | #define INT 296
165 | #define LONG 297
166 | #define SIGNED 298
167 | #define UNSIGNED 299
168 | #define FLOAT 300
169 | #define DOUBLE 301
170 | #define BOOL 302
171 | #define STRUCT 303
172 | #define UNION 304
173 | #define ENUM 305
174 | #define CASE 306
175 | #define DEFAULT 307
176 | #define IF 308
177 | #define ELSE 309
178 | #define SWITCH 310
179 | #define WHILE 311
180 | #define DO 312
181 | #define FOR 313
182 | #define GOTO 314
183 | #define CONTINUE 315
184 | #define BREAK 316
185 | #define RETURN 317
186 | #define ASM 318
187 |
188 | /* Value type. */
189 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
190 | typedef int YYSTYPE;
191 | # define YYSTYPE_IS_TRIVIAL 1
192 | # define YYSTYPE_IS_DECLARED 1
193 | #endif
194 |
195 |
196 | extern YYSTYPE yylval;
197 |
198 | int yyparse (void);
199 |
200 | #endif /* !YY_YY_Y_TAB_H_INCLUDED */