*** empty log message ***
[chuck-blob.git] / v2 / chuck_win32.h
blob482fa5fe15b331a52ea5a96118fbad1cd63de249
1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
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 2, or (at your option)
11 any later version.
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.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
23 /* As a special exception, you may create a larger work that contains
24 part or all of the Bison parser skeleton and distribute that work
25 under terms of your choice, so long as that work isn't itself a
26 parser generator using the skeleton or a modified version thereof
27 as a parser skeleton. Alternatively, if you modify or redistribute
28 the parser skeleton itself, you may (at your option) remove this
29 special exception, which will cause the skeleton and the resulting
30 Bison output files to be licensed under the GNU General Public
31 License without this special exception.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
36 /* Tokens. */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
40 know about them. */
41 enum yytokentype {
42 ID = 258,
43 STRING_LIT = 259,
44 NUM = 260,
45 FLOAT = 261,
46 POUND = 262,
47 COMMA = 263,
48 COLON = 264,
49 SEMICOLON = 265,
50 LPAREN = 266,
51 RPAREN = 267,
52 LBRACK = 268,
53 RBRACK = 269,
54 LBRACE = 270,
55 RBRACE = 271,
56 DOT = 272,
57 PLUS = 273,
58 MINUS = 274,
59 TIMES = 275,
60 DIVIDE = 276,
61 PERCENT = 277,
62 EQ = 278,
63 NEQ = 279,
64 LT = 280,
65 LE = 281,
66 GT = 282,
67 GE = 283,
68 AND = 284,
69 OR = 285,
70 ASSIGN = 286,
71 IF = 287,
72 THEN = 288,
73 ELSE = 289,
74 WHILE = 290,
75 FOR = 291,
76 DO = 292,
77 LOOP = 293,
78 BREAK = 294,
79 CONTINUE = 295,
80 NULL_TOK = 296,
81 FUNCTION = 297,
82 RETURN = 298,
83 QUESTION = 299,
84 EXCLAMATION = 300,
85 S_OR = 301,
86 S_AND = 302,
87 S_XOR = 303,
88 PLUSPLUS = 304,
89 MINUSMINUS = 305,
90 DOLLAR = 306,
91 POUNDPAREN = 307,
92 PERCENTPAREN = 308,
93 SIMULT = 309,
94 PATTERN = 310,
95 CODE = 311,
96 TRANSPORT = 312,
97 HOST = 313,
98 TIME = 314,
99 WHENEVER = 315,
100 NEXT = 316,
101 UNTIL = 317,
102 EVERY = 318,
103 BEFORE = 319,
104 AFTER = 320,
105 AT = 321,
106 AT_SYM = 322,
107 ATAT_SYM = 323,
108 NEW = 324,
109 SIZEOF = 325,
110 TYPEOF = 326,
111 SAME = 327,
112 PLUS_CHUCK = 328,
113 MINUS_CHUCK = 329,
114 TIMES_CHUCK = 330,
115 DIVIDE_CHUCK = 331,
116 S_AND_CHUCK = 332,
117 S_OR_CHUCK = 333,
118 S_XOR_CHUCK = 334,
119 SHIFT_RIGHT_CHUCK = 335,
120 SHIFT_LEFT_CHUCK = 336,
121 PERCENT_CHUCK = 337,
122 SHIFT_RIGHT = 338,
123 SHIFT_LEFT = 339,
124 TILDA = 340,
125 CHUCK = 341,
126 COLONCOLON = 342,
127 S_CHUCK = 343,
128 AT_CHUCK = 344,
129 LEFT_S_CHUCK = 345,
130 UNCHUCK = 346,
131 UPCHUCK = 347,
132 CLASS = 348,
133 INTERFACE = 349,
134 EXTENDS = 350,
135 IMPLEMENTS = 351,
136 PUBLIC = 352,
137 PROTECTED = 353,
138 PRIVATE = 354,
139 STATIC = 355,
140 ABSTRACT = 356,
141 CONST = 357,
142 SPORK = 358,
143 ARROW_RIGHT = 359,
144 ARROW_LEFT = 360,
145 L_HACK = 361,
146 R_HACK = 362
148 #endif
149 /* Tokens. */
150 #define ID 258
151 #define STRING_LIT 259
152 #define NUM 260
153 #define FLOAT 261
154 #define POUND 262
155 #define COMMA 263
156 #define COLON 264
157 #define SEMICOLON 265
158 #define LPAREN 266
159 #define RPAREN 267
160 #define LBRACK 268
161 #define RBRACK 269
162 #define LBRACE 270
163 #define RBRACE 271
164 #define DOT 272
165 #define PLUS 273
166 #define MINUS 274
167 #define TIMES 275
168 #define DIVIDE 276
169 #define PERCENT 277
170 #define EQ 278
171 #define NEQ 279
172 #define LT 280
173 #define LE 281
174 #define GT 282
175 #define GE 283
176 #define AND 284
177 #define OR 285
178 #define ASSIGN 286
179 #define IF 287
180 #define THEN 288
181 #define ELSE 289
182 #define WHILE 290
183 #define FOR 291
184 #define DO 292
185 #define LOOP 293
186 #define BREAK 294
187 #define CONTINUE 295
188 #define NULL_TOK 296
189 #define FUNCTION 297
190 #define RETURN 298
191 #define QUESTION 299
192 #define EXCLAMATION 300
193 #define S_OR 301
194 #define S_AND 302
195 #define S_XOR 303
196 #define PLUSPLUS 304
197 #define MINUSMINUS 305
198 #define DOLLAR 306
199 #define POUNDPAREN 307
200 #define PERCENTPAREN 308
201 #define SIMULT 309
202 #define PATTERN 310
203 #define CODE 311
204 #define TRANSPORT 312
205 #define HOST 313
206 #define TIME 314
207 #define WHENEVER 315
208 #define NEXT 316
209 #define UNTIL 317
210 #define EVERY 318
211 #define BEFORE 319
212 #define AFTER 320
213 #define AT 321
214 #define AT_SYM 322
215 #define ATAT_SYM 323
216 #define NEW 324
217 #define SIZEOF 325
218 #define TYPEOF 326
219 #define SAME 327
220 #define PLUS_CHUCK 328
221 #define MINUS_CHUCK 329
222 #define TIMES_CHUCK 330
223 #define DIVIDE_CHUCK 331
224 #define S_AND_CHUCK 332
225 #define S_OR_CHUCK 333
226 #define S_XOR_CHUCK 334
227 #define SHIFT_RIGHT_CHUCK 335
228 #define SHIFT_LEFT_CHUCK 336
229 #define PERCENT_CHUCK 337
230 #define SHIFT_RIGHT 338
231 #define SHIFT_LEFT 339
232 #define TILDA 340
233 #define CHUCK 341
234 #define COLONCOLON 342
235 #define S_CHUCK 343
236 #define AT_CHUCK 344
237 #define LEFT_S_CHUCK 345
238 #define UNCHUCK 346
239 #define UPCHUCK 347
240 #define CLASS 348
241 #define INTERFACE 349
242 #define EXTENDS 350
243 #define IMPLEMENTS 351
244 #define PUBLIC 352
245 #define PROTECTED 353
246 #define PRIVATE 354
247 #define STATIC 355
248 #define ABSTRACT 356
249 #define CONST 357
250 #define SPORK 358
251 #define ARROW_RIGHT 359
252 #define ARROW_LEFT 360
253 #define L_HACK 361
254 #define R_HACK 362
259 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
260 typedef union YYSTYPE
261 #line 59 "chuck.y"
263 int pos;
264 int ival;
265 double fval;
266 c_str sval;
268 a_Program program;
269 a_Section program_section;
270 a_Stmt_List stmt_list;
271 a_Class_Def class_def;
272 a_Class_Ext class_ext;
273 a_Class_Body class_body;
274 a_Stmt stmt;
275 a_Exp exp;
276 a_Func_Def func_def;
277 a_Var_Decl_List var_decl_list;
278 a_Var_Decl var_decl;
279 a_Type_Decl type_decl;
280 a_Arg_List arg_list;
281 a_Id_List id_list;
282 a_Array_Sub array_sub;
283 a_Complex complex_exp;
284 a_Polar polar_exp;
286 /* Line 1489 of yacc.c. */
287 #line 288 "chuck.tab.h"
288 YYSTYPE;
289 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
290 # define YYSTYPE_IS_DECLARED 1
291 # define YYSTYPE_IS_TRIVIAL 1
292 #endif
294 extern YYSTYPE yylval;