This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perly.*: update regen_perly checksum
[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
d63c20f2 8/* A Bison parser, made by GNU Bison 2.4.3. */
4e4da3ac 9
417a992d
Z
10/* Skeleton interface for Bison's Yacc-like parsers in C
11
d63c20f2
DM
12 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
13 2009, 2010 Free Software Foundation, Inc.
417a992d
Z
14
15 This program is free software: you can redistribute it and/or modify
0de566d7 16 it under the terms of the GNU General Public License as published by
417a992d
Z
17 the Free Software Foundation, either version 3 of the License, or
18 (at your option) any later version.
19
0de566d7
DM
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.
417a992d 24
0de566d7 25 You should have received a copy of the GNU General Public License
417a992d 26 along with this program. If not, see <http://www.gnu.org/licenses/>. */
0de566d7 27
f05e27e5
DM
28/* As a special exception, you may create a larger work that contains
29 part or all of the Bison parser skeleton and distribute that work
30 under terms of your choice, so long as that work isn't itself a
31 parser generator using the skeleton or a modified version thereof
32 as a parser skeleton. Alternatively, if you modify or redistribute
33 the parser skeleton itself, you may (at your option) remove this
34 special exception, which will cause the skeleton and the resulting
35 Bison output files to be licensed under the GNU General Public
36 License without this special exception.
417a992d 37
f05e27e5
DM
38 This special exception was added by the Free Software Foundation in
39 version 2.2 of Bison. */
0de566d7 40
417a992d 41
0de566d7
DM
42/* Tokens. */
43#ifndef YYTOKENTYPE
44# define YYTOKENTYPE
45 /* Put the tokens into the symbol table, so that GDB and other debuggers
46 know about them. */
47 enum yytokentype {
636def1f 48 GRAMPROG = 258,
78cdf107
Z
49 GRAMEXPR = 259,
50 GRAMBLOCK = 260,
51 GRAMBARESTMT = 261,
52 GRAMFULLSTMT = 262,
53 GRAMSTMTSEQ = 263,
54 WORD = 264,
55 METHOD = 265,
56 FUNCMETH = 266,
57 THING = 267,
58 PMFUNC = 268,
59 PRIVATEREF = 269,
60 QWLIST = 270,
7eb971ee
FC
61 FUNC0OP = 271,
62 FUNC0SUB = 272,
63 UNIOPSUB = 273,
64 LSTOPSUB = 274,
65 PLUGEXPR = 275,
66 PLUGSTMT = 276,
67 LABEL = 277,
68 FORMAT = 278,
69 SUB = 279,
70 ANONSUB = 280,
71 PACKAGE = 281,
72 USE = 282,
73 WHILE = 283,
74 UNTIL = 284,
75 IF = 285,
76 UNLESS = 286,
77 ELSE = 287,
78 ELSIF = 288,
79 CONTINUE = 289,
80 FOR = 290,
81 GIVEN = 291,
82 WHEN = 292,
83 DEFAULT = 293,
84 LOOPEX = 294,
85 DOTDOT = 295,
86 YADAYADA = 296,
87 FUNC0 = 297,
88 FUNC1 = 298,
89 FUNC = 299,
90 UNIOP = 300,
91 LSTOP = 301,
92 RELOP = 302,
93 EQOP = 303,
94 MULOP = 304,
95 ADDOP = 305,
96 DOLSHARP = 306,
97 DO = 307,
98 HASHBRACK = 308,
99 NOAMP = 309,
100 LOCAL = 310,
101 MY = 311,
102 MYSUB = 312,
103 REQUIRE = 313,
104 COLONATTR = 314,
105 PREC_LOW = 315,
106 DOROP = 316,
107 OROP = 317,
108 ANDOP = 318,
109 NOTOP = 319,
110 ASSIGNOP = 320,
111 DORDOR = 321,
112 OROR = 322,
113 ANDAND = 323,
114 BITOROP = 324,
115 BITANDOP = 325,
116 SHIFTOP = 326,
117 MATCHOP = 327,
118 REFGEN = 328,
119 UMINUS = 329,
120 POWOP = 330,
121 POSTDEC = 331,
122 POSTINC = 332,
123 PREDEC = 333,
124 PREINC = 334,
125 ARROW = 335,
126 PEG = 336
0de566d7
DM
127 };
128#endif
417a992d 129
20515881 130/* Tokens. */
636def1f 131#define GRAMPROG 258
78cdf107
Z
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
7eb971ee
FC
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
0de566d7 210
d8118cad 211
0de566d7 212
0de566d7 213#endif /* PERL_CORE */
f05e27e5
DM
214#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
215typedef union YYSTYPE
216{
417a992d 217
d63c20f2 218/* Line 1685 of yacc.c */
417a992d 219
d5c6462e
DM
220 I32 ival; /* __DEFAULT__ (marker for regen_perly.pl;
221 must always be 1st union member) */
79072805
LW
222 char *pval;
223 OP *opval;
224 GV *gvval;
f05e27e5
DM
225#ifdef PERL_IN_MADLY_C
226 TOKEN* p_tkval;
123d08c9 227 TOKEN* i_tkval;
f05e27e5
DM
228#else
229 char *p_tkval;
123d08c9
DM
230 I32 i_tkval;
231#endif
232#ifdef PERL_MAD
233 TOKEN* tkval;
f05e27e5 234#endif
417a992d
Z
235
236
237
d63c20f2 238/* Line 1685 of yacc.c */
417a992d
Z
239} YYSTYPE;
240# define YYSTYPE_IS_TRIVIAL 1
0de566d7
DM
241# define yystype YYSTYPE /* obsolescent; will be withdrawn */
242# define YYSTYPE_IS_DECLARED 1
0de566d7
DM
243#endif
244
245
246
e8fb9efb 247
417a992d 248
c24c946d 249/* Generated from:
d63c20f2 250 * 27cce68ad4844f1b8053bfc11206fb9f559e08be6cefd4a986aaa606c0e5fb38 perly.y
3c60b34b 251 * 38f866dcd8341ad3c0810347587113eb2c6ac7d4f33bdab75b020efce92865be regen_perly.pl
c24c946d 252 * ex: set ro: */