This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In t/porting/authors.t, correct a typo in the git log format string.
[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,
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
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
4e4da3ac 213
0de566d7 214#endif /* PERL_CORE */
f05e27e5
DM
215#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
216typedef union YYSTYPE
217{
d5c6462e
DM
218 I32 ival; /* __DEFAULT__ (marker for regen_perly.pl;
219 must always be 1st union member) */
79072805
LW
220 char *pval;
221 OP *opval;
222 GV *gvval;
f05e27e5
DM
223#ifdef PERL_IN_MADLY_C
224 TOKEN* p_tkval;
123d08c9 225 TOKEN* i_tkval;
f05e27e5
DM
226#else
227 char *p_tkval;
123d08c9
DM
228 I32 i_tkval;
229#endif
230#ifdef PERL_MAD
231 TOKEN* tkval;
f05e27e5 232#endif
4e4da3ac 233}
2eee27d7 234/* Line 1489 of yacc.c. */
4e4da3ac 235 YYSTYPE;
0de566d7
DM
236# define yystype YYSTYPE /* obsolescent; will be withdrawn */
237# define YYSTYPE_IS_DECLARED 1
4e4da3ac 238# define YYSTYPE_IS_TRIVIAL 1
0de566d7
DM
239#endif
240
241
242
e8fb9efb 243
c24c946d 244/* Generated from:
2eee27d7
SS
245 * 653e5740260a91fc0511942c124de9498176ffc3862f4d9d4523d3bafbace9c6 perly.y
246 * 53f57d7143a42b3c008841a14d158bcf9cab64b2904b07ef5e95051fe9a8a875 regen_perly.pl
c24c946d 247 * ex: set ro: */