1 | /* A Bison parser, made by GNU Bison 1.875d. */
2 |
3 | /* Skeleton parser for Yacc-like parsing with Bison,
4 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
5 |
6 | This program is free software; you can redistribute it and/or modify
7 | it under the terms of the GNU General Public License as published by
8 | the Free Software Foundation; either version 2, or (at your option)
9 | any later version.
10 |
11 | This program is distributed in the hope that it will be useful,
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | GNU General Public License for more details.
15 |
16 | You should have received a copy of the GNU General Public License
17 | along with this program; if not, write to the Free Software
18 | Foundation, Inc., 59 Temple Place - Suite 330,
19 | Boston, MA 02111-1307, USA. */
20 |
21 | /* As a special exception, when this file is copied by Bison into a
22 | Bison output file, you may use that output file without restriction.
23 | This special exception was added by the Free Software Foundation
24 | in version 1.24 of Bison. */
25 |
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 | IDENTIFIER = 258,
33 | TYPE_NAME = 259,
34 | LITERAL = 260,
35 | STRING_LITERAL = 261,
36 | ELLIPSES = 262,
37 | MUL_ASSIGN = 263,
38 | DIV_ASSIGN = 264,
39 | MOD_ASSIGN = 265,
40 | ADD_ASSIGN = 266,
41 | SUB_ASSIGN = 267,
42 | LEFT_ASSIGN = 268,
43 | RIGHT_ASSIGN = 269,
44 | AND_ASSIGN = 270,
45 | XOR_ASSIGN = 271,
46 | OR_ASSIGN = 272,
47 | EQ_OP = 273,
48 | NE_OP = 274,
49 | PTR_OP = 275,
50 | AND_OP = 276,
51 | OR_OP = 277,
52 | DEC_OP = 278,
53 | INC_OP = 279,
54 | LE_OP = 280,
55 | GE_OP = 281,
56 | LEFT_SHIFT = 282,
57 | RIGHT_SHIFT = 283,
58 | SIZEOF = 284,
59 | TYPEDEF = 285,
60 | EXTERN = 286,
61 | STATIC = 287,
62 | AUTO = 288,
63 | REGISTER = 289,
64 | CONST = 290,
65 | VOLATILE = 291,
66 | VOID = 292,
67 | INLINE = 293,
68 | CHAR = 294,
69 | SHORT = 295,
70 | INT = 296,
71 | LONG = 297,
72 | SIGNED = 298,
73 | UNSIGNED = 299,
74 | FLOAT = 300,
75 | DOUBLE = 301,
76 | BOOL = 302,
77 | STRUCT = 303,
78 | UNION = 304,
79 | ENUM = 305,
80 | CASE = 306,
81 | DEFAULT = 307,
82 | IF = 308,
83 | ELSE = 309,
84 | SWITCH = 310,
85 | WHILE = 311,
86 | DO = 312,
87 | FOR = 313,
88 | GOTO = 314,
89 | CONTINUE = 315,
90 | BREAK = 316,
91 | RETURN = 317,
92 | ASM = 318
93 | };
94 | #endif
95 | #define IDENTIFIER 258
96 | #define TYPE_NAME 259
97 | #define LITERAL 260
98 | #define STRING_LITERAL 261
99 | #define ELLIPSES 262
100 | #define MUL_ASSIGN 263
101 | #define DIV_ASSIGN 264
102 | #define MOD_ASSIGN 265
103 | #define ADD_ASSIGN 266
104 | #define SUB_ASSIGN 267
105 | #define LEFT_ASSIGN 268
106 | #define RIGHT_ASSIGN 269
107 | #define AND_ASSIGN 270
108 | #define XOR_ASSIGN 271
109 | #define OR_ASSIGN 272
110 | #define EQ_OP 273
111 | #define NE_OP 274
112 | #define PTR_OP 275
113 | #define AND_OP 276
114 | #define OR_OP 277
115 | #define DEC_OP 278
116 | #define INC_OP 279
117 | #define LE_OP 280
118 | #define GE_OP 281
119 | #define LEFT_SHIFT 282
120 | #define RIGHT_SHIFT 283
121 | #define SIZEOF 284
122 | #define TYPEDEF 285
123 | #define EXTERN 286
124 | #define STATIC 287
125 | #define AUTO 288
126 | #define REGISTER 289
127 | #define CONST 290
128 | #define VOLATILE 291
129 | #define VOID 292
130 | #define INLINE 293
131 | #define CHAR 294
132 | #define SHORT 295
133 | #define INT 296
134 | #define LONG 297
135 | #define SIGNED 298
136 | #define UNSIGNED 299
137 | #define FLOAT 300
138 | #define DOUBLE 301
139 | #define BOOL 302
140 | #define STRUCT 303
141 | #define UNION 304
142 | #define ENUM 305
143 | #define CASE 306
144 | #define DEFAULT 307
145 | #define IF 308
146 | #define ELSE 309
147 | #define SWITCH 310
148 | #define WHILE 311
149 | #define DO 312
150 | #define FOR 313
151 | #define GOTO 314
152 | #define CONTINUE 315
153 | #define BREAK 316
154 | #define RETURN 317
155 | #define ASM 318
156 |
157 |
158 |
159 |
160 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
161 | typedef int YYSTYPE;
162 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */
163 | # define YYSTYPE_IS_DECLARED 1
164 | # define YYSTYPE_IS_TRIVIAL 1
165 | #endif
166 |
167 | extern YYSTYPE yylval;
168 |
169 |
170 |