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