This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
And some more DynaLoader things that should not be tested on
[perl5.git] / perly.h
1 #ifdef PERL_CORE
2 /* A Bison parser, made by GNU Bison 2.1.  */
3
4 /* Skeleton parser for Yacc-like parsing with Bison,
5    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
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
19    Foundation, Inc., 51 Franklin Street, Fifth Floor,
20    Boston, MA 02110-1301, USA.  */
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      GIVEN = 281,
57      WHEN = 282,
58      DEFAULT = 283,
59      LOOPEX = 284,
60      DOTDOT = 285,
61      FUNC0 = 286,
62      FUNC1 = 287,
63      FUNC = 288,
64      UNIOP = 289,
65      LSTOP = 290,
66      RELOP = 291,
67      EQOP = 292,
68      MULOP = 293,
69      ADDOP = 294,
70      DOLSHARP = 295,
71      DO = 296,
72      HASHBRACK = 297,
73      NOAMP = 298,
74      LOCAL = 299,
75      MY = 300,
76      MYSUB = 301,
77      REQUIRE = 302,
78      COLONATTR = 303,
79      PREC_LOW = 304,
80      DOROP = 305,
81      OROP = 306,
82      ANDOP = 307,
83      NOTOP = 308,
84      ASSIGNOP = 309,
85      DORDOR = 310,
86      OROR = 311,
87      ANDAND = 312,
88      BITOROP = 313,
89      BITANDOP = 314,
90      SHIFTOP = 315,
91      MATCHOP = 316,
92      REFGEN = 317,
93      UMINUS = 318,
94      POWOP = 319,
95      POSTDEC = 320,
96      POSTINC = 321,
97      PREDEC = 322,
98      PREINC = 323,
99      ARROW = 324,
100      PEG = 325
101    };
102 #endif
103 /* Tokens.  */
104 #define WORD 258
105 #define METHOD 259
106 #define FUNCMETH 260
107 #define THING 261
108 #define PMFUNC 262
109 #define PRIVATEREF 263
110 #define FUNC0SUB 264
111 #define UNIOPSUB 265
112 #define LSTOPSUB 266
113 #define LABEL 267
114 #define FORMAT 268
115 #define SUB 269
116 #define ANONSUB 270
117 #define PACKAGE 271
118 #define USE 272
119 #define WHILE 273
120 #define UNTIL 274
121 #define IF 275
122 #define UNLESS 276
123 #define ELSE 277
124 #define ELSIF 278
125 #define CONTINUE 279
126 #define FOR 280
127 #define GIVEN 281
128 #define WHEN 282
129 #define DEFAULT 283
130 #define LOOPEX 284
131 #define DOTDOT 285
132 #define FUNC0 286
133 #define FUNC1 287
134 #define FUNC 288
135 #define UNIOP 289
136 #define LSTOP 290
137 #define RELOP 291
138 #define EQOP 292
139 #define MULOP 293
140 #define ADDOP 294
141 #define DOLSHARP 295
142 #define DO 296
143 #define HASHBRACK 297
144 #define NOAMP 298
145 #define LOCAL 299
146 #define MY 300
147 #define MYSUB 301
148 #define REQUIRE 302
149 #define COLONATTR 303
150 #define PREC_LOW 304
151 #define DOROP 305
152 #define OROP 306
153 #define ANDOP 307
154 #define NOTOP 308
155 #define ASSIGNOP 309
156 #define DORDOR 310
157 #define OROR 311
158 #define ANDAND 312
159 #define BITOROP 313
160 #define BITANDOP 314
161 #define SHIFTOP 315
162 #define MATCHOP 316
163 #define REFGEN 317
164 #define UMINUS 318
165 #define POWOP 319
166 #define POSTDEC 320
167 #define POSTINC 321
168 #define PREDEC 322
169 #define PREINC 323
170 #define ARROW 324
171 #define PEG 325
172
173
174
175
176 #endif /* PERL_CORE */
177 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
178 #line 30 "perly.y"
179 typedef union YYSTYPE {
180     I32 ival;
181     char *pval;
182 #ifdef PERL_MAD
183     TOKEN* tkval;
184 #endif
185     OP *opval;
186     GV *gvval;
187 } YYSTYPE;
188 /* Line 1447 of yacc.c.  */
189 #line 188 "perly.h"
190 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
191 # define YYSTYPE_IS_DECLARED 1
192 # define YYSTYPE_IS_TRIVIAL 1
193 #endif
194
195
196
197
198