Re: What if NV_PRESERVES_UV_BITS is undef? (was: Re: [PATCH] Configure test code...
[p5sagit/p5-mst-13.2.git] / perly.h
CommitLineData
d8118cad 1#ifdef PERL_CORE
f05e27e5 2/* A Bison parser, made by GNU Bison 2.3. */
0de566d7 3
f05e27e5 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.
0de566d7 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
20515881 21 Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110-1301, USA. */
0de566d7 23
f05e27e5 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. */
0de566d7 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 WORD = 258,
44 METHOD = 259,
45 FUNCMETH = 260,
46 THING = 261,
47 PMFUNC = 262,
48 PRIVATEREF = 263,
49 FUNC0SUB = 264,
50 UNIOPSUB = 265,
51 LSTOPSUB = 266,
52 LABEL = 267,
53 FORMAT = 268,
54 SUB = 269,
55 ANONSUB = 270,
56 PACKAGE = 271,
57 USE = 272,
58 WHILE = 273,
59 UNTIL = 274,
60 IF = 275,
61 UNLESS = 276,
62 ELSE = 277,
63 ELSIF = 278,
64 CONTINUE = 279,
65 FOR = 280,
0d863452 66 GIVEN = 281,
67 WHEN = 282,
68 DEFAULT = 283,
69 LOOPEX = 284,
70 DOTDOT = 285,
71 FUNC0 = 286,
72 FUNC1 = 287,
73 FUNC = 288,
74 UNIOP = 289,
75 LSTOP = 290,
76 RELOP = 291,
77 EQOP = 292,
78 MULOP = 293,
79 ADDOP = 294,
80 DOLSHARP = 295,
81 DO = 296,
82 HASHBRACK = 297,
83 NOAMP = 298,
84 LOCAL = 299,
85 MY = 300,
86 MYSUB = 301,
87 REQUIRE = 302,
88 COLONATTR = 303,
89 PREC_LOW = 304,
90 DOROP = 305,
91 OROP = 306,
92 ANDOP = 307,
93 NOTOP = 308,
94 ASSIGNOP = 309,
95 DORDOR = 310,
96 OROR = 311,
97 ANDAND = 312,
98 BITOROP = 313,
99 BITANDOP = 314,
100 SHIFTOP = 315,
101 MATCHOP = 316,
102 REFGEN = 317,
103 UMINUS = 318,
104 POWOP = 319,
105 POSTDEC = 320,
106 POSTINC = 321,
107 PREDEC = 322,
108 PREINC = 323,
7f46837f 109 ARROW = 324,
110 PEG = 325
0de566d7 111 };
112#endif
20515881 113/* Tokens. */
0de566d7 114#define WORD 258
115#define METHOD 259
116#define FUNCMETH 260
117#define THING 261
118#define PMFUNC 262
119#define PRIVATEREF 263
120#define FUNC0SUB 264
121#define UNIOPSUB 265
122#define LSTOPSUB 266
123#define LABEL 267
124#define FORMAT 268
125#define SUB 269
126#define ANONSUB 270
127#define PACKAGE 271
128#define USE 272
129#define WHILE 273
130#define UNTIL 274
131#define IF 275
132#define UNLESS 276
133#define ELSE 277
134#define ELSIF 278
135#define CONTINUE 279
136#define FOR 280
0d863452 137#define GIVEN 281
138#define WHEN 282
139#define DEFAULT 283
140#define LOOPEX 284
141#define DOTDOT 285
142#define FUNC0 286
143#define FUNC1 287
144#define FUNC 288
145#define UNIOP 289
146#define LSTOP 290
147#define RELOP 291
148#define EQOP 292
149#define MULOP 293
150#define ADDOP 294
151#define DOLSHARP 295
152#define DO 296
153#define HASHBRACK 297
154#define NOAMP 298
155#define LOCAL 299
156#define MY 300
157#define MYSUB 301
158#define REQUIRE 302
159#define COLONATTR 303
160#define PREC_LOW 304
161#define DOROP 305
162#define OROP 306
163#define ANDOP 307
164#define NOTOP 308
165#define ASSIGNOP 309
166#define DORDOR 310
167#define OROR 311
168#define ANDAND 312
169#define BITOROP 313
170#define BITANDOP 314
171#define SHIFTOP 315
172#define MATCHOP 316
173#define REFGEN 317
174#define UMINUS 318
175#define POWOP 319
176#define POSTDEC 320
177#define POSTINC 321
178#define PREDEC 322
179#define PREINC 323
180#define ARROW 324
7f46837f 181#define PEG 325
0de566d7 182
d8118cad 183
0de566d7 184
185
186#endif /* PERL_CORE */
f05e27e5 187#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
188typedef union YYSTYPE
189{
d5c6462e 190 I32 ival; /* __DEFAULT__ (marker for regen_perly.pl;
191 must always be 1st union member) */
79072805 192 char *pval;
193 OP *opval;
194 GV *gvval;
f05e27e5 195#ifdef PERL_IN_MADLY_C
196 TOKEN* p_tkval;
123d08c9 197 TOKEN* i_tkval;
f05e27e5 198#else
199 char *p_tkval;
123d08c9 200 I32 i_tkval;
201#endif
202#ifdef PERL_MAD
203 TOKEN* tkval;
f05e27e5 204#endif
205}
63031daf 206/* Line 1489 of yacc.c. */
f05e27e5 207 YYSTYPE;
0de566d7 208# define yystype YYSTYPE /* obsolescent; will be withdrawn */
209# define YYSTYPE_IS_DECLARED 1
210# define YYSTYPE_IS_TRIVIAL 1
211#endif
212
213
214