-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtiny.tab.h
205 lines (191 loc) · 4.79 KB
/
tiny.tab.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
/* A Bison parser, made by GNU Bison 2.3. */
/* Skeleton interface for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
IDENTIFIER = 258,
CONSTANT = 259,
STRING_LITERAL = 260,
SIZEOF = 261,
PTR_OP = 262,
INC_OP = 263,
DEC_OP = 264,
LEFT_OP = 265,
RIGHT_OP = 266,
LE_OP = 267,
GE_OP = 268,
EQ_OP = 269,
NE_OP = 270,
AND_OP = 271,
OR_OP = 272,
MUL_ASSIGN = 273,
DIV_ASSIGN = 274,
MOD_ASSIGN = 275,
ADD_ASSIGN = 276,
SUB_ASSIGN = 277,
LEFT_ASSIGN = 278,
RIGHT_ASSIGN = 279,
AND_ASSIGN = 280,
XOR_ASSIGN = 281,
OR_ASSIGN = 282,
TYPE_NAME = 283,
TYPEDEF = 284,
EXTERN = 285,
STATIC = 286,
AUTO = 287,
REGISTER = 288,
INLINE = 289,
RESTRICT = 290,
CHAR = 291,
SHORT = 292,
INT = 293,
LONG = 294,
SIGNED = 295,
UNSIGNED = 296,
FLOAT = 297,
DOUBLE = 298,
CONST = 299,
VOLATILE = 300,
VOID = 301,
BOOL = 302,
COMPLEX = 303,
IMAGINARY = 304,
STRUCT = 305,
UNION = 306,
ENUM = 307,
ELLIPSIS = 308,
CASE = 309,
DEFAULT = 310,
IF = 311,
ELSE = 312,
SWITCH = 313,
WHILE = 314,
DO = 315,
FOR = 316,
GOTO = 317,
CONTINUE = 318,
BREAK = 319,
RETURN = 320,
ERROR = 321,
LPAREN = 322,
RPAREN = 323,
EQ = 324,
SEMI = 325,
GT = 326,
LT = 327,
MINUS = 328,
PLUS = 329,
OVER = 330,
TIMES = 331
};
#endif
/* Tokens. */
#define IDENTIFIER 258
#define CONSTANT 259
#define STRING_LITERAL 260
#define SIZEOF 261
#define PTR_OP 262
#define INC_OP 263
#define DEC_OP 264
#define LEFT_OP 265
#define RIGHT_OP 266
#define LE_OP 267
#define GE_OP 268
#define EQ_OP 269
#define NE_OP 270
#define AND_OP 271
#define OR_OP 272
#define MUL_ASSIGN 273
#define DIV_ASSIGN 274
#define MOD_ASSIGN 275
#define ADD_ASSIGN 276
#define SUB_ASSIGN 277
#define LEFT_ASSIGN 278
#define RIGHT_ASSIGN 279
#define AND_ASSIGN 280
#define XOR_ASSIGN 281
#define OR_ASSIGN 282
#define TYPE_NAME 283
#define TYPEDEF 284
#define EXTERN 285
#define STATIC 286
#define AUTO 287
#define REGISTER 288
#define INLINE 289
#define RESTRICT 290
#define CHAR 291
#define SHORT 292
#define INT 293
#define LONG 294
#define SIGNED 295
#define UNSIGNED 296
#define FLOAT 297
#define DOUBLE 298
#define CONST 299
#define VOLATILE 300
#define VOID 301
#define BOOL 302
#define COMPLEX 303
#define IMAGINARY 304
#define STRUCT 305
#define UNION 306
#define ENUM 307
#define ELLIPSIS 308
#define CASE 309
#define DEFAULT 310
#define IF 311
#define ELSE 312
#define SWITCH 313
#define WHILE 314
#define DO 315
#define FOR 316
#define GOTO 317
#define CONTINUE 318
#define BREAK 319
#define RETURN 320
#define ERROR 321
#define LPAREN 322
#define RPAREN 323
#define EQ 324
#define SEMI 325
#define GT 326
#define LT 327
#define MINUS 328
#define PLUS 329
#define OVER 330
#define TIMES 331
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef int YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif
extern YYSTYPE yylval;