This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
reindent S_doeval() following a code purge.
[perl5.git] / perly.h
... / ...
CommitLineData
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.4.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 2009, 2010 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 3 of the License, or
18 (at your option) 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, see <http://www.gnu.org/licenses/>. */
27
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.
37
38 This special exception was added by the Free Software Foundation in
39 version 2.2 of Bison. */
40
41
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 {
48 GRAMPROG = 258,
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,
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
127 };
128#endif
129
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#endif /* PERL_CORE */
214#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
215typedef union YYSTYPE
216{
217
218/* Line 1685 of yacc.c */
219
220 I32 ival; /* __DEFAULT__ (marker for regen_perly.pl;
221 must always be 1st union member) */
222 char *pval;
223 OP *opval;
224 GV *gvval;
225#ifdef PERL_IN_MADLY_C
226 TOKEN* p_tkval;
227 TOKEN* i_tkval;
228#else
229 char *p_tkval;
230 I32 i_tkval;
231#endif
232#ifdef PERL_MAD
233 TOKEN* tkval;
234#endif
235
236
237
238/* Line 1685 of yacc.c */
239} YYSTYPE;
240# define YYSTYPE_IS_TRIVIAL 1
241# define yystype YYSTYPE /* obsolescent; will be withdrawn */
242# define YYSTYPE_IS_DECLARED 1
243#endif
244
245
246
247
248
249/* Generated from:
250 * 27cce68ad4844f1b8053bfc11206fb9f559e08be6cefd4a986aaa606c0e5fb38 perly.y
251 * 53f57d7143a42b3c008841a14d158bcf9cab64b2904b07ef5e95051fe9a8a875 regen_perly.pl
252 * ex: set ro: */