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)
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. */
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
119 SHIFT_RIGHT_CHUCK
= 335,
120 SHIFT_LEFT_CHUCK
= 336,
151 #define STRING_LIT 259
157 #define SEMICOLON 265
192 #define EXCLAMATION 300
197 #define MINUSMINUS 305
199 #define POUNDPAREN 307
200 #define PERCENTPAREN 308
204 #define TRANSPORT 312
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
234 #define COLONCOLON 342
237 #define LEFT_S_CHUCK 345
241 #define INTERFACE 349
243 #define IMPLEMENTS 351
245 #define PROTECTED 353
251 #define ARROW_RIGHT 359
252 #define ARROW_LEFT 360
259 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
260 typedef union YYSTYPE
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
;
277 a_Var_Decl_List var_decl_list
;
279 a_Type_Decl type_decl
;
282 a_Array_Sub array_sub
;
283 a_Complex complex_exp
;
286 /* Line 1489 of yacc.c. */
287 #line 288 "chuck.tab.h"
289 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
290 # define YYSTYPE_IS_DECLARED 1
291 # define YYSTYPE_IS_TRIVIAL 1
294 extern YYSTYPE yylval
;