72299ea3a70ca7abb4e025ba2369e12cd5c151b6
[p5sagit/p5-mst-13.2.git] / madly.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      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,
74      COLONATTR = 299,
75      PREC_LOW = 300,
76      DOROP = 301,
77      OROP = 302,
78      ANDOP = 303,
79      NOTOP = 304,
80      ASSIGNOP = 305,
81      DORDOR = 306,
82      OROR = 307,
83      ANDAND = 308,
84      BITOROP = 309,
85      BITANDOP = 310,
86      SHIFTOP = 311,
87      MATCHOP = 312,
88      REFGEN = 313,
89      UMINUS = 314,
90      POWOP = 315,
91      POSTDEC = 316,
92      POSTINC = 317,
93      PREDEC = 318,
94      PREINC = 319,
95      ARROW = 320,
96      PEG = 321
97    };
98 #endif
99 /* Tokens.  */
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
141 #define COLONATTR 299
142 #define PREC_LOW 300
143 #define DOROP 301
144 #define OROP 302
145 #define ANDOP 303
146 #define NOTOP 304
147 #define ASSIGNOP 305
148 #define DORDOR 306
149 #define OROR 307
150 #define ANDAND 308
151 #define BITOROP 309
152 #define BITANDOP 310
153 #define SHIFTOP 311
154 #define MATCHOP 312
155 #define REFGEN 313
156 #define UMINUS 314
157 #define POWOP 315
158 #define POSTDEC 316
159 #define POSTINC 317
160 #define PREDEC 318
161 #define PREINC 319
162 #define ARROW 320
163 #define PEG 321
164
165
166
167
168 #endif /* PERL_CORE */
169 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
170 #line 21 "madly.y"
171 typedef union YYSTYPE {
172     I32 ival;
173     char *pval;
174     TOKEN* tkval;
175     OP *opval;
176     GV *gvval;
177 } YYSTYPE;
178 /* Line 1447 of yacc.c.  */
179 #line 178 "madly.h"
180 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
181 # define YYSTYPE_IS_DECLARED 1
182 # define YYSTYPE_IS_TRIVIAL 1
183 #endif
184
185
186
187
188