This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Keys of %INC always use forward slashes
[perl5.git] / perly.h
CommitLineData
d8118cad 1#ifdef PERL_CORE
20515881 2/* A Bison parser, made by GNU Bison 2.1. */
0de566d7
DM
3
4/* Skeleton parser for Yacc-like parsing with Bison,
20515881 5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
0de566d7
DM
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
20515881
RGS
19 Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
0de566d7
DM
21
22/* As a special exception, when this file is copied by Bison into a
23 Bison output file, you may use that output file without restriction.
24 This special exception was added by the Free Software Foundation
25 in version 1.24 of Bison. */
26
27/* Tokens. */
28#ifndef YYTOKENTYPE
29# define YYTOKENTYPE
30 /* Put the tokens into the symbol table, so that GDB and other debuggers
31 know about them. */
32 enum yytokentype {
33 WORD = 258,
34 METHOD = 259,
35 FUNCMETH = 260,
36 THING = 261,
37 PMFUNC = 262,
38 PRIVATEREF = 263,
39 FUNC0SUB = 264,
40 UNIOPSUB = 265,
41 LSTOPSUB = 266,
42 LABEL = 267,
43 FORMAT = 268,
44 SUB = 269,
45 ANONSUB = 270,
46 PACKAGE = 271,
47 USE = 272,
48 WHILE = 273,
49 UNTIL = 274,
50 IF = 275,
51 UNLESS = 276,
52 ELSE = 277,
53 ELSIF = 278,
54 CONTINUE = 279,
55 FOR = 280,
56 LOOPEX = 281,
57 DOTDOT = 282,
58 FUNC0 = 283,
59 FUNC1 = 284,
60 FUNC = 285,
61 UNIOP = 286,
62 LSTOP = 287,
63 RELOP = 288,
64 EQOP = 289,
65 MULOP = 290,
66 ADDOP = 291,
67 DOLSHARP = 292,
68 DO = 293,
69 HASHBRACK = 294,
70 NOAMP = 295,
71 LOCAL = 296,
72 MY = 297,
73 MYSUB = 298,
a72a1c8b
RGS
74 REQUIRE = 299,
75 COLONATTR = 300,
76 PREC_LOW = 301,
77 DOROP = 302,
78 OROP = 303,
79 ANDOP = 304,
80 NOTOP = 305,
81 ASSIGNOP = 306,
82 DORDOR = 307,
83 OROR = 308,
84 ANDAND = 309,
85 BITOROP = 310,
86 BITANDOP = 311,
87 SHIFTOP = 312,
88 MATCHOP = 313,
89 REFGEN = 314,
90 UMINUS = 315,
91 POWOP = 316,
92 POSTDEC = 317,
93 POSTINC = 318,
94 PREDEC = 319,
95 PREINC = 320,
96 ARROW = 321
0de566d7
DM
97 };
98#endif
20515881 99/* Tokens. */
0de566d7
DM
100#define WORD 258
101#define METHOD 259
102#define FUNCMETH 260
103#define THING 261
104#define PMFUNC 262
105#define PRIVATEREF 263
106#define FUNC0SUB 264
107#define UNIOPSUB 265
108#define LSTOPSUB 266
109#define LABEL 267
110#define FORMAT 268
111#define SUB 269
112#define ANONSUB 270
113#define PACKAGE 271
114#define USE 272
115#define WHILE 273
116#define UNTIL 274
117#define IF 275
118#define UNLESS 276
119#define ELSE 277
120#define ELSIF 278
121#define CONTINUE 279
122#define FOR 280
123#define LOOPEX 281
124#define DOTDOT 282
125#define FUNC0 283
126#define FUNC1 284
127#define FUNC 285
128#define UNIOP 286
129#define LSTOP 287
130#define RELOP 288
131#define EQOP 289
132#define MULOP 290
133#define ADDOP 291
134#define DOLSHARP 292
135#define DO 293
136#define HASHBRACK 294
137#define NOAMP 295
138#define LOCAL 296
139#define MY 297
140#define MYSUB 298
a72a1c8b
RGS
141#define REQUIRE 299
142#define COLONATTR 300
143#define PREC_LOW 301
144#define DOROP 302
145#define OROP 303
146#define ANDOP 304
147#define NOTOP 305
148#define ASSIGNOP 306
149#define DORDOR 307
150#define OROR 308
151#define ANDAND 309
152#define BITOROP 310
153#define BITANDOP 311
154#define SHIFTOP 312
155#define MATCHOP 313
156#define REFGEN 314
157#define UMINUS 315
158#define POWOP 316
159#define POSTDEC 317
160#define POSTINC 318
161#define PREDEC 319
162#define PREINC 320
163#define ARROW 321
0de566d7 164
d8118cad 165
0de566d7
DM
166
167
168#endif /* PERL_CORE */
169#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
166f8a29 170#line 30 "perly.y"
0de566d7 171typedef union YYSTYPE {
79072805
LW
172 I32 ival;
173 char *pval;
174 OP *opval;
175 GV *gvval;
176} YYSTYPE;
20515881
RGS
177/* Line 1447 of yacc.c. */
178#line 177 "perly.h"
0de566d7
DM
179# define yystype YYSTYPE /* obsolescent; will be withdrawn */
180# define YYSTYPE_IS_DECLARED 1
181# define YYSTYPE_IS_TRIVIAL 1
182#endif
183
184
185
186
187