| 1 | #ifdef PERL_CORE |
| 2 | /* A Bison parser, made by GNU Bison 2.3. */ |
| 3 | |
| 4 | /* Skeleton interface for Bison's Yacc-like parsers in C |
| 5 | |
| 6 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
| 7 | Free Software Foundation, Inc. |
| 8 | |
| 9 | This program is free software; you can redistribute it and/or modify |
| 10 | it under the terms of the GNU General Public License as published by |
| 11 | the Free Software Foundation; either version 2, or (at your option) |
| 12 | any later version. |
| 13 | |
| 14 | This program is distributed in the hope that it will be useful, |
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | GNU General Public License for more details. |
| 18 | |
| 19 | You should have received a copy of the GNU General Public License |
| 20 | along with this program; if not, write to the Free Software |
| 21 | Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 22 | Boston, MA 02110-1301, USA. */ |
| 23 | |
| 24 | /* As a special exception, you may create a larger work that contains |
| 25 | part or all of the Bison parser skeleton and distribute that work |
| 26 | under terms of your choice, so long as that work isn't itself a |
| 27 | parser generator using the skeleton or a modified version thereof |
| 28 | as a parser skeleton. Alternatively, if you modify or redistribute |
| 29 | the parser skeleton itself, you may (at your option) remove this |
| 30 | special exception, which will cause the skeleton and the resulting |
| 31 | Bison output files to be licensed under the GNU General Public |
| 32 | License without this special exception. |
| 33 | |
| 34 | This special exception was added by the Free Software Foundation in |
| 35 | version 2.2 of Bison. */ |
| 36 | |
| 37 | /* Tokens. */ |
| 38 | #ifndef YYTOKENTYPE |
| 39 | # define YYTOKENTYPE |
| 40 | /* Put the tokens into the symbol table, so that GDB and other debuggers |
| 41 | know about them. */ |
| 42 | enum yytokentype { |
| 43 | GRAMPROG = 258, |
| 44 | GRAMBLOCK = 259, |
| 45 | GRAMBARESTMT = 260, |
| 46 | GRAMFULLSTMT = 261, |
| 47 | GRAMSTMTSEQ = 262, |
| 48 | WORD = 263, |
| 49 | METHOD = 264, |
| 50 | FUNCMETH = 265, |
| 51 | THING = 266, |
| 52 | PMFUNC = 267, |
| 53 | PRIVATEREF = 268, |
| 54 | QWLIST = 269, |
| 55 | FUNC0SUB = 270, |
| 56 | UNIOPSUB = 271, |
| 57 | LSTOPSUB = 272, |
| 58 | PLUGEXPR = 273, |
| 59 | PLUGSTMT = 274, |
| 60 | LABEL = 275, |
| 61 | FORMAT = 276, |
| 62 | SUB = 277, |
| 63 | ANONSUB = 278, |
| 64 | PACKAGE = 279, |
| 65 | USE = 280, |
| 66 | WHILE = 281, |
| 67 | UNTIL = 282, |
| 68 | IF = 283, |
| 69 | UNLESS = 284, |
| 70 | ELSE = 285, |
| 71 | ELSIF = 286, |
| 72 | CONTINUE = 287, |
| 73 | FOR = 288, |
| 74 | GIVEN = 289, |
| 75 | WHEN = 290, |
| 76 | DEFAULT = 291, |
| 77 | LOOPEX = 292, |
| 78 | DOTDOT = 293, |
| 79 | YADAYADA = 294, |
| 80 | FUNC0 = 295, |
| 81 | FUNC1 = 296, |
| 82 | FUNC = 297, |
| 83 | UNIOP = 298, |
| 84 | LSTOP = 299, |
| 85 | RELOP = 300, |
| 86 | EQOP = 301, |
| 87 | MULOP = 302, |
| 88 | ADDOP = 303, |
| 89 | DOLSHARP = 304, |
| 90 | DO = 305, |
| 91 | HASHBRACK = 306, |
| 92 | NOAMP = 307, |
| 93 | LOCAL = 308, |
| 94 | MY = 309, |
| 95 | MYSUB = 310, |
| 96 | REQUIRE = 311, |
| 97 | COLONATTR = 312, |
| 98 | PREC_LOW = 313, |
| 99 | DOROP = 314, |
| 100 | OROP = 315, |
| 101 | ANDOP = 316, |
| 102 | NOTOP = 317, |
| 103 | ASSIGNOP = 318, |
| 104 | DORDOR = 319, |
| 105 | OROR = 320, |
| 106 | ANDAND = 321, |
| 107 | BITOROP = 322, |
| 108 | BITANDOP = 323, |
| 109 | SHIFTOP = 324, |
| 110 | MATCHOP = 325, |
| 111 | REFGEN = 326, |
| 112 | UMINUS = 327, |
| 113 | POWOP = 328, |
| 114 | POSTDEC = 329, |
| 115 | POSTINC = 330, |
| 116 | PREDEC = 331, |
| 117 | PREINC = 332, |
| 118 | ARROW = 333, |
| 119 | PEG = 334 |
| 120 | }; |
| 121 | #endif |
| 122 | /* Tokens. */ |
| 123 | #define GRAMPROG 258 |
| 124 | #define GRAMBLOCK 259 |
| 125 | #define GRAMBARESTMT 260 |
| 126 | #define GRAMFULLSTMT 261 |
| 127 | #define GRAMSTMTSEQ 262 |
| 128 | #define WORD 263 |
| 129 | #define METHOD 264 |
| 130 | #define FUNCMETH 265 |
| 131 | #define THING 266 |
| 132 | #define PMFUNC 267 |
| 133 | #define PRIVATEREF 268 |
| 134 | #define QWLIST 269 |
| 135 | #define FUNC0SUB 270 |
| 136 | #define UNIOPSUB 271 |
| 137 | #define LSTOPSUB 272 |
| 138 | #define PLUGEXPR 273 |
| 139 | #define PLUGSTMT 274 |
| 140 | #define LABEL 275 |
| 141 | #define FORMAT 276 |
| 142 | #define SUB 277 |
| 143 | #define ANONSUB 278 |
| 144 | #define PACKAGE 279 |
| 145 | #define USE 280 |
| 146 | #define WHILE 281 |
| 147 | #define UNTIL 282 |
| 148 | #define IF 283 |
| 149 | #define UNLESS 284 |
| 150 | #define ELSE 285 |
| 151 | #define ELSIF 286 |
| 152 | #define CONTINUE 287 |
| 153 | #define FOR 288 |
| 154 | #define GIVEN 289 |
| 155 | #define WHEN 290 |
| 156 | #define DEFAULT 291 |
| 157 | #define LOOPEX 292 |
| 158 | #define DOTDOT 293 |
| 159 | #define YADAYADA 294 |
| 160 | #define FUNC0 295 |
| 161 | #define FUNC1 296 |
| 162 | #define FUNC 297 |
| 163 | #define UNIOP 298 |
| 164 | #define LSTOP 299 |
| 165 | #define RELOP 300 |
| 166 | #define EQOP 301 |
| 167 | #define MULOP 302 |
| 168 | #define ADDOP 303 |
| 169 | #define DOLSHARP 304 |
| 170 | #define DO 305 |
| 171 | #define HASHBRACK 306 |
| 172 | #define NOAMP 307 |
| 173 | #define LOCAL 308 |
| 174 | #define MY 309 |
| 175 | #define MYSUB 310 |
| 176 | #define REQUIRE 311 |
| 177 | #define COLONATTR 312 |
| 178 | #define PREC_LOW 313 |
| 179 | #define DOROP 314 |
| 180 | #define OROP 315 |
| 181 | #define ANDOP 316 |
| 182 | #define NOTOP 317 |
| 183 | #define ASSIGNOP 318 |
| 184 | #define DORDOR 319 |
| 185 | #define OROR 320 |
| 186 | #define ANDAND 321 |
| 187 | #define BITOROP 322 |
| 188 | #define BITANDOP 323 |
| 189 | #define SHIFTOP 324 |
| 190 | #define MATCHOP 325 |
| 191 | #define REFGEN 326 |
| 192 | #define UMINUS 327 |
| 193 | #define POWOP 328 |
| 194 | #define POSTDEC 329 |
| 195 | #define POSTINC 330 |
| 196 | #define PREDEC 331 |
| 197 | #define PREINC 332 |
| 198 | #define ARROW 333 |
| 199 | #define PEG 334 |
| 200 | |
| 201 | |
| 202 | |
| 203 | |
| 204 | #endif /* PERL_CORE */ |
| 205 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
| 206 | typedef union YYSTYPE |
| 207 | { |
| 208 | I32 ival; /* __DEFAULT__ (marker for regen_perly.pl; |
| 209 | must always be 1st union member) */ |
| 210 | char *pval; |
| 211 | OP *opval; |
| 212 | GV *gvval; |
| 213 | #ifdef PERL_IN_MADLY_C |
| 214 | TOKEN* p_tkval; |
| 215 | TOKEN* i_tkval; |
| 216 | #else |
| 217 | char *p_tkval; |
| 218 | I32 i_tkval; |
| 219 | #endif |
| 220 | #ifdef PERL_MAD |
| 221 | TOKEN* tkval; |
| 222 | #endif |
| 223 | } |
| 224 | /* Line 1529 of yacc.c. */ |
| 225 | YYSTYPE; |
| 226 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
| 227 | # define YYSTYPE_IS_DECLARED 1 |
| 228 | # define YYSTYPE_IS_TRIVIAL 1 |
| 229 | #endif |
| 230 | |
| 231 | |
| 232 | |