This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for $@=3; warn
[perl5.git] / perly.h
CommitLineData
e8fb9efb
NC
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
d8118cad 7#ifdef PERL_CORE
e6289726 8
417a992d 9/* A Bison parser, made by GNU Bison 2.4.1. */
4e4da3ac 10
417a992d
Z
11/* Skeleton interface for Bison's Yacc-like parsers in C
12
13 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
f05e27e5 14 Free Software Foundation, Inc.
417a992d
Z
15
16 This program is free software: you can redistribute it and/or modify
0de566d7 17 it under the terms of the GNU General Public License as published by
417a992d
Z
18 the Free Software Foundation, either version 3 of the License, or
19 (at your option) any later version.
20
0de566d7
DM
21 This program is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU General Public License for more details.
417a992d 25
0de566d7 26 You should have received a copy of the GNU General Public License
417a992d 27 along with this program. If not, see <http://www.gnu.org/licenses/>. */
0de566d7 28
f05e27e5
DM
29/* As a special exception, you may create a larger work that contains
30 part or all of the Bison parser skeleton and distribute that work
31 under terms of your choice, so long as that work isn't itself a
32 parser generator using the skeleton or a modified version thereof
33 as a parser skeleton. Alternatively, if you modify or redistribute
34 the parser skeleton itself, you may (at your option) remove this
35 special exception, which will cause the skeleton and the resulting
36 Bison output files to be licensed under the GNU General Public
37 License without this special exception.
417a992d 38
f05e27e5
DM
39 This special exception was added by the Free Software Foundation in
40 version 2.2 of Bison. */
0de566d7 41
417a992d 42
0de566d7
DM
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 {
636def1f 49 GRAMPROG = 258,
78cdf107
Z
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,
7eb971ee
FC
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
0de566d7
DM
128 };
129#endif
417a992d 130
20515881 131/* Tokens. */
636def1f 132#define GRAMPROG 258
78cdf107
Z
133#define GRAMEXPR 259
134#define GRAMBLOCK 260
135#define GRAMBARESTMT 261
136#define GRAMFULLSTMT 262
137#define GRAMSTMTSEQ 263
138#define WORD 264
139#define METHOD 265
140#define FUNCMETH 266
141#define THING 267
142#define PMFUNC 268
143#define PRIVATEREF 269
144#define QWLIST 270
7eb971ee
FC
145#define FUNC0OP 271
146#define FUNC0SUB 272
147#define UNIOPSUB 273
148#define LSTOPSUB 274
149#define PLUGEXPR 275
150#define PLUGSTMT 276
151#define LABEL 277
152#define FORMAT 278
153#define SUB 279
154#define ANONSUB 280
155#define PACKAGE 281
156#define USE 282
157#define WHILE 283
158#define UNTIL 284
159#define IF 285
160#define UNLESS 286
161#define ELSE 287
162#define ELSIF 288
163#define CONTINUE 289
164#define FOR 290
165#define GIVEN 291
166#define WHEN 292
167#define DEFAULT 293
168#define LOOPEX 294
169#define DOTDOT 295
170#define YADAYADA 296
171#define FUNC0 297
172#define FUNC1 298
173#define FUNC 299
174#define UNIOP 300
175#define LSTOP 301
176#define RELOP 302
177#define EQOP 303
178#define MULOP 304
179#define ADDOP 305
180#define DOLSHARP 306
181#define DO 307
182#define HASHBRACK 308
183#define NOAMP 309
184#define LOCAL 310
185#define MY 311
186#define MYSUB 312
187#define REQUIRE 313
188#define COLONATTR 314
189#define PREC_LOW 315
190#define DOROP 316
191#define OROP 317
192#define ANDOP 318
193#define NOTOP 319
194#define ASSIGNOP 320
195#define DORDOR 321
196#define OROR 322
197#define ANDAND 323
198#define BITOROP 324
199#define BITANDOP 325
200#define SHIFTOP 326
201#define MATCHOP 327
202#define REFGEN 328
203#define UMINUS 329
204#define POWOP 330
205#define POSTDEC 331
206#define POSTINC 332
207#define PREDEC 333
208#define PREINC 334
209#define ARROW 335
210#define PEG 336
0de566d7 211
d8118cad 212
0de566d7 213
0de566d7 214#endif /* PERL_CORE */
f05e27e5
DM
215#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
216typedef union YYSTYPE
217{
417a992d
Z
218
219/* Line 1676 of yacc.c */
220
d5c6462e
DM
221 I32 ival; /* __DEFAULT__ (marker for regen_perly.pl;
222 must always be 1st union member) */
79072805
LW
223 char *pval;
224 OP *opval;
225 GV *gvval;
f05e27e5
DM
226#ifdef PERL_IN_MADLY_C
227 TOKEN* p_tkval;
123d08c9 228 TOKEN* i_tkval;
f05e27e5
DM
229#else
230 char *p_tkval;
123d08c9
DM
231 I32 i_tkval;
232#endif
233#ifdef PERL_MAD
234 TOKEN* tkval;
f05e27e5 235#endif
417a992d
Z
236
237
238
239/* Line 1676 of yacc.c */
240} YYSTYPE;
241# define YYSTYPE_IS_TRIVIAL 1
0de566d7
DM
242# define yystype YYSTYPE /* obsolescent; will be withdrawn */
243# define YYSTYPE_IS_DECLARED 1
0de566d7
DM
244#endif
245
246
247
e8fb9efb 248
417a992d 249
c24c946d 250/* Generated from:
417a992d 251 * ff01d43de6f749eba3bfeffd39928772fe7e1bebe039506b8465c05941209aa8 perly.y
2eee27d7 252 * 53f57d7143a42b3c008841a14d158bcf9cab64b2904b07ef5e95051fe9a8a875 regen_perly.pl
c24c946d 253 * ex: set ro: */