| 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 | FUNC0SUB = 271, |
| 63 | UNIOPSUB = 272, |
| 64 | LSTOPSUB = 273, |
| 65 | PLUGEXPR = 274, |
| 66 | PLUGSTMT = 275, |
| 67 | LABEL = 276, |
| 68 | FORMAT = 277, |
| 69 | SUB = 278, |
| 70 | ANONSUB = 279, |
| 71 | PACKAGE = 280, |
| 72 | USE = 281, |
| 73 | WHILE = 282, |
| 74 | UNTIL = 283, |
| 75 | IF = 284, |
| 76 | UNLESS = 285, |
| 77 | ELSE = 286, |
| 78 | ELSIF = 287, |
| 79 | CONTINUE = 288, |
| 80 | FOR = 289, |
| 81 | GIVEN = 290, |
| 82 | WHEN = 291, |
| 83 | DEFAULT = 292, |
| 84 | LOOPEX = 293, |
| 85 | DOTDOT = 294, |
| 86 | YADAYADA = 295, |
| 87 | FUNC0 = 296, |
| 88 | FUNC1 = 297, |
| 89 | FUNC = 298, |
| 90 | UNIOP = 299, |
| 91 | LSTOP = 300, |
| 92 | RELOP = 301, |
| 93 | EQOP = 302, |
| 94 | MULOP = 303, |
| 95 | ADDOP = 304, |
| 96 | DOLSHARP = 305, |
| 97 | DO = 306, |
| 98 | HASHBRACK = 307, |
| 99 | NOAMP = 308, |
| 100 | LOCAL = 309, |
| 101 | MY = 310, |
| 102 | MYSUB = 311, |
| 103 | REQUIRE = 312, |
| 104 | COLONATTR = 313, |
| 105 | PREC_LOW = 314, |
| 106 | DOROP = 315, |
| 107 | OROP = 316, |
| 108 | ANDOP = 317, |
| 109 | NOTOP = 318, |
| 110 | ASSIGNOP = 319, |
| 111 | DORDOR = 320, |
| 112 | OROR = 321, |
| 113 | ANDAND = 322, |
| 114 | BITOROP = 323, |
| 115 | BITANDOP = 324, |
| 116 | SHIFTOP = 325, |
| 117 | MATCHOP = 326, |
| 118 | REFGEN = 327, |
| 119 | UMINUS = 328, |
| 120 | POWOP = 329, |
| 121 | POSTDEC = 330, |
| 122 | POSTINC = 331, |
| 123 | PREDEC = 332, |
| 124 | PREINC = 333, |
| 125 | ARROW = 334, |
| 126 | PEG = 335 |
| 127 | }; |
| 128 | #endif |
| 129 | /* Tokens. */ |
| 130 | #define GRAMPROG 258 |
| 131 | #define GRAMEXPR 259 |
| 132 | #define GRAMBLOCK 260 |
| 133 | #define GRAMBARESTMT 261 |
| 134 | #define GRAMFULLSTMT 262 |
| 135 | #define GRAMSTMTSEQ 263 |
| 136 | #define WORD 264 |
| 137 | #define METHOD 265 |
| 138 | #define FUNCMETH 266 |
| 139 | #define THING 267 |
| 140 | #define PMFUNC 268 |
| 141 | #define PRIVATEREF 269 |
| 142 | #define QWLIST 270 |
| 143 | #define FUNC0SUB 271 |
| 144 | #define UNIOPSUB 272 |
| 145 | #define LSTOPSUB 273 |
| 146 | #define PLUGEXPR 274 |
| 147 | #define PLUGSTMT 275 |
| 148 | #define LABEL 276 |
| 149 | #define FORMAT 277 |
| 150 | #define SUB 278 |
| 151 | #define ANONSUB 279 |
| 152 | #define PACKAGE 280 |
| 153 | #define USE 281 |
| 154 | #define WHILE 282 |
| 155 | #define UNTIL 283 |
| 156 | #define IF 284 |
| 157 | #define UNLESS 285 |
| 158 | #define ELSE 286 |
| 159 | #define ELSIF 287 |
| 160 | #define CONTINUE 288 |
| 161 | #define FOR 289 |
| 162 | #define GIVEN 290 |
| 163 | #define WHEN 291 |
| 164 | #define DEFAULT 292 |
| 165 | #define LOOPEX 293 |
| 166 | #define DOTDOT 294 |
| 167 | #define YADAYADA 295 |
| 168 | #define FUNC0 296 |
| 169 | #define FUNC1 297 |
| 170 | #define FUNC 298 |
| 171 | #define UNIOP 299 |
| 172 | #define LSTOP 300 |
| 173 | #define RELOP 301 |
| 174 | #define EQOP 302 |
| 175 | #define MULOP 303 |
| 176 | #define ADDOP 304 |
| 177 | #define DOLSHARP 305 |
| 178 | #define DO 306 |
| 179 | #define HASHBRACK 307 |
| 180 | #define NOAMP 308 |
| 181 | #define LOCAL 309 |
| 182 | #define MY 310 |
| 183 | #define MYSUB 311 |
| 184 | #define REQUIRE 312 |
| 185 | #define COLONATTR 313 |
| 186 | #define PREC_LOW 314 |
| 187 | #define DOROP 315 |
| 188 | #define OROP 316 |
| 189 | #define ANDOP 317 |
| 190 | #define NOTOP 318 |
| 191 | #define ASSIGNOP 319 |
| 192 | #define DORDOR 320 |
| 193 | #define OROR 321 |
| 194 | #define ANDAND 322 |
| 195 | #define BITOROP 323 |
| 196 | #define BITANDOP 324 |
| 197 | #define SHIFTOP 325 |
| 198 | #define MATCHOP 326 |
| 199 | #define REFGEN 327 |
| 200 | #define UMINUS 328 |
| 201 | #define POWOP 329 |
| 202 | #define POSTDEC 330 |
| 203 | #define POSTINC 331 |
| 204 | #define PREDEC 332 |
| 205 | #define PREINC 333 |
| 206 | #define ARROW 334 |
| 207 | #define PEG 335 |
| 208 | |
| 209 | |
| 210 | |
| 211 | |
| 212 | #endif /* PERL_CORE */ |
| 213 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
| 214 | typedef union YYSTYPE |
| 215 | { |
| 216 | I32 ival; /* __DEFAULT__ (marker for regen_perly.pl; |
| 217 | must always be 1st union member) */ |
| 218 | char *pval; |
| 219 | OP *opval; |
| 220 | GV *gvval; |
| 221 | #ifdef PERL_IN_MADLY_C |
| 222 | TOKEN* p_tkval; |
| 223 | TOKEN* i_tkval; |
| 224 | #else |
| 225 | char *p_tkval; |
| 226 | I32 i_tkval; |
| 227 | #endif |
| 228 | #ifdef PERL_MAD |
| 229 | TOKEN* tkval; |
| 230 | #endif |
| 231 | } |
| 232 | /* Line 1529 of yacc.c. */ |
| 233 | YYSTYPE; |
| 234 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
| 235 | # define YYSTYPE_IS_DECLARED 1 |
| 236 | # define YYSTYPE_IS_TRIVIAL 1 |
| 237 | #endif |
| 238 | |
| 239 | |
| 240 | |
| 241 | |
| 242 | /* Generated from: |
| 243 | * dbb2439b7793bc662fb61a937ef279c1e367658eb7b8755c88b0e9c61116ed55 perly.y |
| 244 | * 738ca60a0b4cb075902435e976a2f393d438e8e6e32ba81e037dd773b75c87b5 regen_perly.pl |
| 245 | * ex: set ro: */ |