*** empty log message ***
[chuck-blob.git] / v1 / chuck_win32.h
blobf601fa8ad8c99cfd9b75df66d6ccef38bdcf6f77
1 /* A Bison parser, made by GNU Bison 1.875b. */
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
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.
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.
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. */
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. */
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 ID = 258,
33 STRING_LIT = 259,
34 NUM = 260,
35 FLOAT = 261,
36 POUND = 262,
37 COMMA = 263,
38 COLON = 264,
39 SEMICOLON = 265,
40 LPAREN = 266,
41 RPAREN = 267,
42 LBRACK = 268,
43 RBRACK = 269,
44 LBRACE = 270,
45 RBRACE = 271,
46 DOT = 272,
47 PLUS = 273,
48 MINUS = 274,
49 TIMES = 275,
50 DIVIDE = 276,
51 PERCENT = 277,
52 EQ = 278,
53 NEQ = 279,
54 LT = 280,
55 LE = 281,
56 GT = 282,
57 GE = 283,
58 AND = 284,
59 OR = 285,
60 ASSIGN = 286,
61 IF = 287,
62 THEN = 288,
63 ELSE = 289,
64 WHILE = 290,
65 FOR = 291,
66 DO = 292,
67 BREAK = 293,
68 NULL_TOK = 294,
69 FUNCTION = 295,
70 RETURN = 296,
71 QUESTION = 297,
72 EXCLAMATION = 298,
73 S_OR = 299,
74 S_AND = 300,
75 S_XOR = 301,
76 PLUSPLUS = 302,
77 MINUSMINUS = 303,
78 SIMULT = 304,
79 PATTERN = 305,
80 CODE = 306,
81 TRANSPORT = 307,
82 HOST = 308,
83 TIME = 309,
84 WHENEVER = 310,
85 NEXT = 311,
86 UNTIL = 312,
87 EVERY = 313,
88 BEFORE = 314,
89 AFTER = 315,
90 AT = 316,
91 AT_SYM = 317,
92 ATAT_SYM = 318,
93 NEW = 319,
94 PLUS_CHUCK = 320,
95 MINUS_CHUCK = 321,
96 TIMES_CHUCK = 322,
97 DIVIDE_CHUCK = 323,
98 S_AND_CHUCK = 324,
99 S_OR_CHUCK = 325,
100 S_XOR_CHUCK = 326,
101 SHIFT_RIGHT_CHUCK = 327,
102 SHIFT_LEFT_CHUCK = 328,
103 PERCENT_CHUCK = 329,
104 SHIFT_RIGHT = 330,
105 SHIFT_LEFT = 331,
106 TILDA = 332,
107 CHUCK = 333,
108 COLONCOLON = 334,
109 S_CHUCK = 335,
110 AT_CHUCK = 336,
111 LEFT_S_CHUCK = 337,
112 UNCHUCK = 338,
113 CLASS = 339,
114 EXTENDS = 340,
115 IMPLEMENTS = 341,
116 PUBLIC = 342,
117 PROTECTED = 343,
118 PRIVATE = 344,
119 STATIC = 345,
120 CONST = 346,
121 SPORK = 347,
122 L_NSPC = 348,
123 R_NSPC = 349
125 #endif
126 #define ID 258
127 #define STRING_LIT 259
128 #define NUM 260
129 #define FLOAT 261
130 #define POUND 262
131 #define COMMA 263
132 #define COLON 264
133 #define SEMICOLON 265
134 #define LPAREN 266
135 #define RPAREN 267
136 #define LBRACK 268
137 #define RBRACK 269
138 #define LBRACE 270
139 #define RBRACE 271
140 #define DOT 272
141 #define PLUS 273
142 #define MINUS 274
143 #define TIMES 275
144 #define DIVIDE 276
145 #define PERCENT 277
146 #define EQ 278
147 #define NEQ 279
148 #define LT 280
149 #define LE 281
150 #define GT 282
151 #define GE 283
152 #define AND 284
153 #define OR 285
154 #define ASSIGN 286
155 #define IF 287
156 #define THEN 288
157 #define ELSE 289
158 #define WHILE 290
159 #define FOR 291
160 #define DO 292
161 #define BREAK 293
162 #define NULL_TOK 294
163 #define FUNCTION 295
164 #define RETURN 296
165 #define QUESTION 297
166 #define EXCLAMATION 298
167 #define S_OR 299
168 #define S_AND 300
169 #define S_XOR 301
170 #define PLUSPLUS 302
171 #define MINUSMINUS 303
172 #define SIMULT 304
173 #define PATTERN 305
174 #define CODE 306
175 #define TRANSPORT 307
176 #define HOST 308
177 #define TIME 309
178 #define WHENEVER 310
179 #define NEXT 311
180 #define UNTIL 312
181 #define EVERY 313
182 #define BEFORE 314
183 #define AFTER 315
184 #define AT 316
185 #define AT_SYM 317
186 #define ATAT_SYM 318
187 #define NEW 319
188 #define PLUS_CHUCK 320
189 #define MINUS_CHUCK 321
190 #define TIMES_CHUCK 322
191 #define DIVIDE_CHUCK 323
192 #define S_AND_CHUCK 324
193 #define S_OR_CHUCK 325
194 #define S_XOR_CHUCK 326
195 #define SHIFT_RIGHT_CHUCK 327
196 #define SHIFT_LEFT_CHUCK 328
197 #define PERCENT_CHUCK 329
198 #define SHIFT_RIGHT 330
199 #define SHIFT_LEFT 331
200 #define TILDA 332
201 #define CHUCK 333
202 #define COLONCOLON 334
203 #define S_CHUCK 335
204 #define AT_CHUCK 336
205 #define LEFT_S_CHUCK 337
206 #define UNCHUCK 338
207 #define CLASS 339
208 #define EXTENDS 340
209 #define IMPLEMENTS 341
210 #define PUBLIC 342
211 #define PROTECTED 343
212 #define PRIVATE 344
213 #define STATIC 345
214 #define CONST 346
215 #define SPORK 347
216 #define L_NSPC 348
217 #define R_NSPC 349
222 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
223 #line 59 "chuck.y"
224 typedef union YYSTYPE {
225 int pos;
226 int ival;
227 double fval;
228 c_str sval;
230 a_Program program;
231 a_Section program_section;
232 a_Stmt_List stmt_list;
233 a_Class_Def class_def;
234 a_Class_Ext class_ext;
235 a_Class_Body class_body;
236 a_Stmt stmt;
237 a_Exp exp;
238 a_Func_Def func_def;
239 a_Var_Decl_List var_decl_list;
240 a_Var_Decl var_decl;
241 a_Type_Decl type_decl;
242 a_Arg_List arg_list;
243 a_Id_List id_list;
244 } YYSTYPE;
245 /* Line 1252 of yacc.c. */
246 #line 247 "chuck.tab.h"
247 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
248 # define YYSTYPE_IS_DECLARED 1
249 # define YYSTYPE_IS_TRIVIAL 1
250 #endif
252 extern YYSTYPE yylval;