1 | /* A Bison parser, made by GNU Bison 1.875a. */
2 |
3 | /* Skeleton parser for Yacc-like parsing with Bison,
4 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 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 | STRUCT = 302,
77 | UNION = 303,
78 | ENUM = 304,
79 | CASE = 305,
80 | DEFAULT = 306,
81 | IF = 307,
82 | ELSE = 308,
83 | SWITCH = 309,
84 | WHILE = 310,
85 | DO = 311,
86 | FOR = 312,
87 | GOTO = 313,
88 | CONTINUE = 314,
89 | BREAK = 315,
90 | RETURN = 316,
91 | ASM = 317
92 | };
93 | #endif
94 | #define IDENTIFIER 258
95 | #define TYPE_NAME 259
96 | #define LITERAL 260
97 | #define STRING_LITERAL 261
98 | #define ELLIPSES 262
99 | #define MUL_ASSIGN 263
100 | #define DIV_ASSIGN 264
101 | #define MOD_ASSIGN 265
102 | #define ADD_ASSIGN 266
103 | #define SUB_ASSIGN 267
104 | #define LEFT_ASSIGN 268
105 | #define RIGHT_ASSIGN 269
106 | #define AND_ASSIGN 270
107 | #define XOR_ASSIGN 271
108 | #define OR_ASSIGN 272
109 | #define EQ_OP 273
110 | #define NE_OP 274
111 | #define PTR_OP 275
112 | #define AND_OP 276
113 | #define OR_OP 277
114 | #define DEC_OP 278
115 | #define INC_OP 279
116 | #define LE_OP 280
117 | #define GE_OP 281
118 | #define LEFT_SHIFT 282
119 | #define RIGHT_SHIFT 283
120 | #define SIZEOF 284
121 | #define TYPEDEF 285
122 | #define EXTERN 286
123 | #define STATIC 287
124 | #define AUTO 288
125 | #define REGISTER 289
126 | #define CONST 290
127 | #define VOLATILE 291
128 | #define VOID 292
129 | #define INLINE 293
130 | #define CHAR 294
131 | #define SHORT 295
132 | #define INT 296
133 | #define LONG 297
134 | #define SIGNED 298
135 | #define UNSIGNED 299
136 | #define FLOAT 300
137 | #define DOUBLE 301
138 | #define STRUCT 302
139 | #define UNION 303
140 | #define ENUM 304
141 | #define CASE 305
142 | #define DEFAULT 306
143 | #define IF 307
144 | #define ELSE 308
145 | #define SWITCH 309
146 | #define WHILE 310
147 | #define DO 311
148 | #define FOR 312
149 | #define GOTO 313
150 | #define CONTINUE 314
151 | #define BREAK 315
152 | #define RETURN 316
153 | #define ASM 317
154 |
155 |
156 |
157 |
158 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
159 | typedef int YYSTYPE;
160 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */
161 | # define YYSTYPE_IS_DECLARED 1
162 | # define YYSTYPE_IS_TRIVIAL 1
163 | #endif
164 |
165 | extern YYSTYPE yylval;
166 |
167 |
168 |