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)
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. */
29 /* Put the tokens into the symbol table, so that GDB and other debuggers
101 SHIFT_RIGHT_CHUCK
= 327,
102 SHIFT_LEFT_CHUCK
= 328,
127 #define STRING_LIT 259
133 #define SEMICOLON 265
166 #define EXCLAMATION 298
171 #define MINUSMINUS 303
175 #define TRANSPORT 307
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
202 #define COLONCOLON 334
205 #define LEFT_S_CHUCK 337
209 #define IMPLEMENTS 341
211 #define PROTECTED 343
222 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
224 typedef union YYSTYPE
{
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
;
239 a_Var_Decl_List var_decl_list
;
241 a_Type_Decl type_decl
;
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
252 extern YYSTYPE yylval
;