1
/* A Bison parser, made by GNU Bison 2.5. */
3
/* Bison interface for Yacc-like parsers in C
5
Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
7
This program is free software: you can redistribute it and/or modify
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
8
9
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.
10
the Free Software Foundation; either version 2, or (at your option)
12
13
This program is distributed in the hope that it will be useful,
13
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
16
GNU General Public License for more details.
17
18
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
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. */
20
23
/* As a special exception, you may create a larger work that contains
21
24
part or all of the Bison parser skeleton and distribute that work
157
159
tLAST_TOKEN = 375
163
#define keyword_class 258
164
#define keyword_module 259
165
#define keyword_def 260
166
#define keyword_undef 261
167
#define keyword_begin 262
168
#define keyword_rescue 263
169
#define keyword_ensure 264
170
#define keyword_end 265
171
#define keyword_if 266
172
#define keyword_unless 267
173
#define keyword_then 268
174
#define keyword_elsif 269
175
#define keyword_else 270
176
#define keyword_case 271
177
#define keyword_when 272
178
#define keyword_while 273
179
#define keyword_until 274
180
#define keyword_for 275
181
#define keyword_break 276
182
#define keyword_next 277
183
#define keyword_redo 278
184
#define keyword_retry 279
185
#define keyword_in 280
186
#define keyword_do 281
187
#define keyword_do_cond 282
188
#define keyword_do_block 283
189
#define keyword_do_LAMBDA 284
190
#define keyword_return 285
191
#define keyword_yield 286
192
#define keyword_super 287
193
#define keyword_self 288
194
#define keyword_nil 289
195
#define keyword_true 290
196
#define keyword_false 291
197
#define keyword_and 292
198
#define keyword_or 293
199
#define keyword_not 294
200
#define modifier_if 295
201
#define modifier_unless 296
202
#define modifier_while 297
203
#define modifier_until 298
204
#define modifier_rescue 299
205
#define keyword_alias 300
206
#define keyword_defined 301
207
#define keyword_BEGIN 302
208
#define keyword_END 303
209
#define keyword__LINE__ 304
210
#define keyword__FILE__ 305
211
#define keyword__ENCODING__ 306
212
#define tIDENTIFIER 307
216
#define tCONSTANT 311
221
#define tSTRING_CONTENT 316
224
#define tBACK_REF 319
225
#define tREGEXP_END 320
250
#define tLPAREN_ARG 345
254
#define tLBRACE_ARG 349
259
#define tSTRING_BEG 354
260
#define tXSTRING_BEG 355
261
#define tREGEXP_BEG 356
262
#define tWORDS_BEG 357
263
#define tQWORDS_BEG 358
264
#define tSTRING_DBEG 359
265
#define tSTRING_DVAR 360
266
#define tSTRING_END 361
269
#define tUMINUS_NUM 364
271
#define idRespond_to 366
274
#define id_core_set_method_alias 369
275
#define id_core_set_variable_alias 370
276
#define id_core_undef_method 371
277
#define id_core_define_method 372
278
#define id_core_define_singleton_method 373
279
#define id_core_set_postexe 374
280
#define tLAST_TOKEN 375
163
285
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
164
286
typedef union YYSTYPE
167
/* Line 2068 of yacc.c */
173
292
const struct vtable *vars;
177
/* Line 2068 of yacc.c */
179
# define YYSTYPE_IS_TRIVIAL 1
294
/* Line 1489 of yacc.c. */
180
296
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
181
297
# define YYSTYPE_IS_DECLARED 1
298
# define YYSTYPE_IS_TRIVIAL 1