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