This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta: Perl::OSType is already listed
[perl5.git] / perly.h
... / ...
CommitLineData
1#ifdef PERL_CORE
2/* A Bison parser, made by GNU Bison 2.3. */
3
4/* Skeleton interface for Bison's Yacc-like parsers in C
5
6 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7 Free Software Foundation, Inc.
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110-1301, USA. */
23
24/* As a special exception, you may create a larger work that contains
25 part or all of the Bison parser skeleton and distribute that work
26 under terms of your choice, so long as that work isn't itself a
27 parser generator using the skeleton or a modified version thereof
28 as a parser skeleton. Alternatively, if you modify or redistribute
29 the parser skeleton itself, you may (at your option) remove this
30 special exception, which will cause the skeleton and the resulting
31 Bison output files to be licensed under the GNU General Public
32 License without this special exception.
33
34 This special exception was added by the Free Software Foundation in
35 version 2.2 of Bison. */
36
37/* Tokens. */
38#ifndef YYTOKENTYPE
39# define YYTOKENTYPE
40 /* Put the tokens into the symbol table, so that GDB and other debuggers
41 know about them. */
42 enum yytokentype {
43 GRAMPROG = 258,
44 GRAMEXPR = 259,
45 GRAMBLOCK = 260,
46 GRAMBARESTMT = 261,
47 GRAMFULLSTMT = 262,
48 GRAMSTMTSEQ = 263,
49 WORD = 264,
50 METHOD = 265,
51 FUNCMETH = 266,
52 THING = 267,
53 PMFUNC = 268,
54 PRIVATEREF = 269,
55 QWLIST = 270,
56 FUNC0SUB = 271,
57 UNIOPSUB = 272,
58 LSTOPSUB = 273,
59 PLUGEXPR = 274,
60 PLUGSTMT = 275,
61 LABEL = 276,
62 FORMAT = 277,
63 SUB = 278,
64 ANONSUB = 279,
65 PACKAGE = 280,
66 USE = 281,
67 WHILE = 282,
68 UNTIL = 283,
69 IF = 284,
70 UNLESS = 285,
71 ELSE = 286,
72 ELSIF = 287,
73 CONTINUE = 288,
74 FOR = 289,
75 GIVEN = 290,
76 WHEN = 291,
77 DEFAULT = 292,
78 LOOPEX = 293,
79 DOTDOT = 294,
80 YADAYADA = 295,
81 FUNC0 = 296,
82 FUNC1 = 297,
83 FUNC = 298,
84 UNIOP = 299,
85 LSTOP = 300,
86 RELOP = 301,
87 EQOP = 302,
88 MULOP = 303,
89 ADDOP = 304,
90 DOLSHARP = 305,
91 DO = 306,
92 HASHBRACK = 307,
93 NOAMP = 308,
94 LOCAL = 309,
95 MY = 310,
96 MYSUB = 311,
97 REQUIRE = 312,
98 COLONATTR = 313,
99 PREC_LOW = 314,
100 DOROP = 315,
101 OROP = 316,
102 ANDOP = 317,
103 NOTOP = 318,
104 ASSIGNOP = 319,
105 DORDOR = 320,
106 OROR = 321,
107 ANDAND = 322,
108 BITOROP = 323,
109 BITANDOP = 324,
110 SHIFTOP = 325,
111 MATCHOP = 326,
112 REFGEN = 327,
113 UMINUS = 328,
114 POWOP = 329,
115 POSTDEC = 330,
116 POSTINC = 331,
117 PREDEC = 332,
118 PREINC = 333,
119 ARROW = 334,
120 PEG = 335
121 };
122#endif
123/* Tokens. */
124#define GRAMPROG 258
125#define GRAMEXPR 259
126#define GRAMBLOCK 260
127#define GRAMBARESTMT 261
128#define GRAMFULLSTMT 262
129#define GRAMSTMTSEQ 263
130#define WORD 264
131#define METHOD 265
132#define FUNCMETH 266
133#define THING 267
134#define PMFUNC 268
135#define PRIVATEREF 269
136#define QWLIST 270
137#define FUNC0SUB 271
138#define UNIOPSUB 272
139#define LSTOPSUB 273
140#define PLUGEXPR 274
141#define PLUGSTMT 275
142#define LABEL 276
143#define FORMAT 277
144#define SUB 278
145#define ANONSUB 279
146#define PACKAGE 280
147#define USE 281
148#define WHILE 282
149#define UNTIL 283
150#define IF 284
151#define UNLESS 285
152#define ELSE 286
153#define ELSIF 287
154#define CONTINUE 288
155#define FOR 289
156#define GIVEN 290
157#define WHEN 291
158#define DEFAULT 292
159#define LOOPEX 293
160#define DOTDOT 294
161#define YADAYADA 295
162#define FUNC0 296
163#define FUNC1 297
164#define FUNC 298
165#define UNIOP 299
166#define LSTOP 300
167#define RELOP 301
168#define EQOP 302
169#define MULOP 303
170#define ADDOP 304
171#define DOLSHARP 305
172#define DO 306
173#define HASHBRACK 307
174#define NOAMP 308
175#define LOCAL 309
176#define MY 310
177#define MYSUB 311
178#define REQUIRE 312
179#define COLONATTR 313
180#define PREC_LOW 314
181#define DOROP 315
182#define OROP 316
183#define ANDOP 317
184#define NOTOP 318
185#define ASSIGNOP 319
186#define DORDOR 320
187#define OROR 321
188#define ANDAND 322
189#define BITOROP 323
190#define BITANDOP 324
191#define SHIFTOP 325
192#define MATCHOP 326
193#define REFGEN 327
194#define UMINUS 328
195#define POWOP 329
196#define POSTDEC 330
197#define POSTINC 331
198#define PREDEC 332
199#define PREINC 333
200#define ARROW 334
201#define PEG 335
202
203
204
205
206#endif /* PERL_CORE */
207#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
208typedef union YYSTYPE
209{
210 I32 ival; /* __DEFAULT__ (marker for regen_perly.pl;
211 must always be 1st union member) */
212 char *pval;
213 OP *opval;
214 GV *gvval;
215#ifdef PERL_IN_MADLY_C
216 TOKEN* p_tkval;
217 TOKEN* i_tkval;
218#else
219 char *p_tkval;
220 I32 i_tkval;
221#endif
222#ifdef PERL_MAD
223 TOKEN* tkval;
224#endif
225}
226/* Line 1489 of yacc.c. */
227 YYSTYPE;
228# define yystype YYSTYPE /* obsolescent; will be withdrawn */
229# define YYSTYPE_IS_DECLARED 1
230# define YYSTYPE_IS_TRIVIAL 1
231#endif
232
233
234