This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update CPAN-Meta to CPAN version 2.112150
[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
4e4da3ac 8/* A Bison parser, made by GNU Bison 2.3. */
e6289726 9
14a86d0c 10/* Skeleton interface for Bison's Yacc-like parsers in C
4e4da3ac
Z
11
12 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
f05e27e5 13 Free Software Foundation, Inc.
4e4da3ac
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
4e4da3ac
Z
17 the Free Software Foundation; either version 2, or (at your option)
18 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.
4e4da3ac 24
0de566d7 25 You should have received a copy of the GNU General Public License
4e4da3ac
Z
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. */
0de566d7 29
f05e27e5
DM
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.
4e4da3ac 39
f05e27e5
DM
40 This special exception was added by the Free Software Foundation in
41 version 2.2 of Bison. */
0de566d7
DM
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 {
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,
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
0de566d7
DM
127 };
128#endif
20515881 129/* Tokens. */
636def1f 130#define GRAMPROG 258
78cdf107
Z
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
0de566d7 208
d8118cad 209
0de566d7 210
4e4da3ac 211
0de566d7 212#endif /* PERL_CORE */
f05e27e5
DM
213#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
214typedef union YYSTYPE
215{
d5c6462e
DM
216 I32 ival; /* __DEFAULT__ (marker for regen_perly.pl;
217 must always be 1st union member) */
79072805
LW
218 char *pval;
219 OP *opval;
220 GV *gvval;
f05e27e5
DM
221#ifdef PERL_IN_MADLY_C
222 TOKEN* p_tkval;
123d08c9 223 TOKEN* i_tkval;
f05e27e5
DM
224#else
225 char *p_tkval;
123d08c9
DM
226 I32 i_tkval;
227#endif
228#ifdef PERL_MAD
229 TOKEN* tkval;
f05e27e5 230#endif
4e4da3ac 231}
5a63ceef 232/* Line 1529 of yacc.c. */
4e4da3ac 233 YYSTYPE;
0de566d7
DM
234# define yystype YYSTYPE /* obsolescent; will be withdrawn */
235# define YYSTYPE_IS_DECLARED 1
4e4da3ac 236# define YYSTYPE_IS_TRIVIAL 1
0de566d7
DM
237#endif
238
239
240
e8fb9efb 241
c24c946d 242/* Generated from:
cc76b5cc 243 * 8bdd3d69bab2a9d77e0557f3b46a8845e8de190fafce0bc37841a105bbcacaa5 perly.y
cc49830d 244 * 738ca60a0b4cb075902435e976a2f393d438e8e6e32ba81e037dd773b75c87b5 regen_perly.pl
c24c946d 245 * ex: set ro: */