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
63 TK_BEGIN_RETURN
= 279,
108 TK_ASSIGN_USHIFT
= 324,
109 TK_ASSIGN_RSHIFT
= 325,
110 TK_ASSIGN_LSHIFT
= 326,
118 TK_ASSIGN_BAND
= 334,
119 TK_ASSIGN_FDIV
= 335,
120 TK_ASSIGN_BNOT
= 336,
121 TK_ASSIGN_CONC
= 337,
126 TK_FLAG_METHOD
= 342,
128 TK_FLAG_VTABLE
= 344,
131 TK_FLAG_POSTCOMP
= 347,
132 TK_FLAG_IMMEDIATE
= 348,
134 TK_FLAG_UNIQUE_REG
= 350,
136 TK_FLAG_SLURPY
= 352,
138 TK_FLAG_OPTIONAL
= 354,
139 TK_FLAG_OPT_FLAG
= 355,
140 TK_FLAG_INVOCANT
= 356
147 #define TK_HLL_MAP 261
148 #define TK_N_OPERATORS 262
149 #define TK_PRAGMA 263
150 #define TK_LOADLIB 264
156 #define TK_NAMESPACE 270
157 #define TK_INVOCANT 271
158 #define TK_METH_CALL 272
159 #define TK_GLOBALCONST 273
161 #define TK_RETURN 275
163 #define TK_BEGIN_YIELD 277
164 #define TK_END_YIELD 278
165 #define TK_BEGIN_RETURN 279
166 #define TK_END_RETURN 280
167 #define TK_BEGIN_CALL 281
168 #define TK_END_CALL 282
169 #define TK_GET_RESULTS 283
172 #define TK_RESULT 286
173 #define TK_NCI_CALL 287
175 #define TK_STRINGC 289
178 #define TK_PASM_PREG 292
179 #define TK_PASM_NREG 293
180 #define TK_PASM_SREG 294
181 #define TK_PASM_IREG 295
182 #define TK_SYM_PREG 296
183 #define TK_SYM_NREG 297
184 #define TK_SYM_SREG 298
185 #define TK_SYM_IREG 299
186 #define TK_PARROT_OP 300
190 #define TK_STRING 304
192 #define TK_UNLESS 306
202 #define TK_USHIFT 316
203 #define TK_RSHIFT 317
204 #define TK_LSHIFT 318
210 #define TK_ASSIGN_USHIFT 324
211 #define TK_ASSIGN_RSHIFT 325
212 #define TK_ASSIGN_LSHIFT 326
213 #define TK_ASSIGN_INC 327
214 #define TK_ASSIGN_DEC 328
215 #define TK_ASSIGN_MUL 329
216 #define TK_ASSIGN_MOD 330
217 #define TK_ASSIGN_POW 331
218 #define TK_ASSIGN_DIV 332
219 #define TK_ASSIGN_BOR 333
220 #define TK_ASSIGN_BAND 334
221 #define TK_ASSIGN_FDIV 335
222 #define TK_ASSIGN_BNOT 336
223 #define TK_ASSIGN_CONC 337
224 #define TK_FLAG_INIT 338
225 #define TK_FLAG_LOAD 339
226 #define TK_FLAG_MAIN 340
227 #define TK_FLAG_ANON 341
228 #define TK_FLAG_METHOD 342
229 #define TK_FLAG_OUTER 343
230 #define TK_FLAG_VTABLE 344
231 #define TK_FLAG_LEX 345
232 #define TK_FLAG_MULTI 346
233 #define TK_FLAG_POSTCOMP 347
234 #define TK_FLAG_IMMEDIATE 348
235 #define TK_FLAG_LEXID 349
236 #define TK_FLAG_UNIQUE_REG 350
237 #define TK_FLAG_NAMED 351
238 #define TK_FLAG_SLURPY 352
239 #define TK_FLAG_FLAT 353
240 #define TK_FLAG_OPTIONAL 354
241 #define TK_FLAG_OPT_FLAG 355
242 #define TK_FLAG_INVOCANT 356
247 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
248 typedef union YYSTYPE
254 struct constant
*constval
;
255 struct instruction
*instr
;
256 struct expression
*expr
;
258 struct argument
*argm
;
259 struct invocation
*invo
;
263 /* Line 1489 of yacc.c. */
264 #line 265 "pirparser.h"
266 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
267 # define YYSTYPE_IS_DECLARED 1
268 # define YYSTYPE_IS_TRIVIAL 1