]>
Commit | Line | Data |
---|---|---|
d2a1a60a | 1 | /* A Bison parser, made by GNU Bison 2.3+. */ |
04b6e11e | 2 | |
04c12cb8 PE |
3 | /* Skeleton interface for Bison's Yacc-like parsers in C |
4 | ||
5 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | |
6 | Free Software Foundation, Inc. | |
04b6e11e PE |
7 | |
8 | This program is free software; you can redistribute it and/or modify | |
9 | it under the terms of the GNU General Public License as published by | |
10 | the Free Software Foundation; either version 2, or (at your option) | |
11 | any later version. | |
12 | ||
13 | This program is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with this program; if not, write to the Free Software | |
0fb669f9 PE |
20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, |
21 | Boston, MA 02110-1301, USA. */ | |
04b6e11e | 22 | |
04c12cb8 PE |
23 | /* As a special exception, you may create a larger work that contains |
24 | part or all of the Bison parser skeleton and distribute that work | |
25 | under terms of your choice, so long as that work isn't itself a | |
26 | parser generator using the skeleton or a modified version thereof | |
27 | as a parser skeleton. Alternatively, if you modify or redistribute | |
28 | the parser skeleton itself, you may (at your option) remove this | |
29 | special exception, which will cause the skeleton and the resulting | |
30 | Bison output files to be licensed under the GNU General Public | |
31 | License without this special exception. | |
32 | ||
33 | This special exception was added by the Free Software Foundation in | |
34 | version 2.2 of Bison. */ | |
04b6e11e | 35 | |
9bc0dd67 | 36 | |
1921f1d7 AD |
37 | /* Tokens. */ |
38 | #ifndef YYTOKENTYPE | |
ae7453f2 | 39 | # define YYTOKENTYPE |
1921f1d7 AD |
40 | /* Put the tokens into the symbol table, so that GDB and other debuggers |
41 | know about them. */ | |
42 | enum yytokentype { | |
43 | GRAM_EOF = 0, | |
44 | STRING = 258, | |
62ddaef6 PE |
45 | INT = 259, |
46 | PERCENT_TOKEN = 260, | |
47 | PERCENT_NTERM = 261, | |
48 | PERCENT_TYPE = 262, | |
49 | PERCENT_DESTRUCTOR = 263, | |
50 | PERCENT_PRINTER = 264, | |
3be03b13 JD |
51 | PERCENT_SYMBOL_DEFAULT = 265, |
52 | PERCENT_LEFT = 266, | |
53 | PERCENT_RIGHT = 267, | |
54 | PERCENT_NONASSOC = 268, | |
55 | PERCENT_PREC = 269, | |
56 | PERCENT_DPREC = 270, | |
57 | PERCENT_MERGE = 271, | |
58 | PERCENT_AFTER_HEADER = 272, | |
59 | PERCENT_BEFORE_HEADER = 273, | |
60 | PERCENT_DEBUG = 274, | |
61 | PERCENT_DEFAULT_PREC = 275, | |
62 | PERCENT_DEFINE = 276, | |
63 | PERCENT_DEFINES = 277, | |
64 | PERCENT_END_HEADER = 278, | |
65 | PERCENT_ERROR_VERBOSE = 279, | |
66 | PERCENT_EXPECT = 280, | |
67 | PERCENT_EXPECT_RR = 281, | |
68 | PERCENT_FILE_PREFIX = 282, | |
69 | PERCENT_GLR_PARSER = 283, | |
70 | PERCENT_INITIAL_ACTION = 284, | |
71 | PERCENT_LEX_PARAM = 285, | |
72 | PERCENT_LOCATIONS = 286, | |
73 | PERCENT_NAME_PREFIX = 287, | |
74 | PERCENT_NO_DEFAULT_PREC = 288, | |
75 | PERCENT_NO_LINES = 289, | |
76 | PERCENT_NONDETERMINISTIC_PARSER = 290, | |
77 | PERCENT_OUTPUT = 291, | |
78 | PERCENT_PARSE_PARAM = 292, | |
79 | PERCENT_PURE_PARSER = 293, | |
80 | PERCENT_REQUIRE = 294, | |
81 | PERCENT_SKELETON = 295, | |
82 | PERCENT_START = 296, | |
83 | PERCENT_START_HEADER = 297, | |
84 | PERCENT_TOKEN_TABLE = 298, | |
85 | PERCENT_VERBOSE = 299, | |
86 | PERCENT_YACC = 300, | |
87 | BRACED_CODE = 301, | |
88 | CHAR = 302, | |
89 | EPILOGUE = 303, | |
90 | EQUAL = 304, | |
91 | ID = 305, | |
92 | ID_COLON = 306, | |
93 | PERCENT_PERCENT = 307, | |
94 | PIPE = 308, | |
95 | PROLOGUE = 309, | |
96 | SEMICOLON = 310, | |
97 | TYPE = 311, | |
98 | PERCENT_UNION = 312 | |
1921f1d7 | 99 | }; |
ae7453f2 | 100 | #endif |
1f4cc0f4 PE |
101 | /* Tokens. */ |
102 | #define GRAM_EOF 0 | |
103 | #define STRING 258 | |
104 | #define INT 259 | |
105 | #define PERCENT_TOKEN 260 | |
106 | #define PERCENT_NTERM 261 | |
107 | #define PERCENT_TYPE 262 | |
108 | #define PERCENT_DESTRUCTOR 263 | |
109 | #define PERCENT_PRINTER 264 | |
3be03b13 JD |
110 | #define PERCENT_SYMBOL_DEFAULT 265 |
111 | #define PERCENT_LEFT 266 | |
112 | #define PERCENT_RIGHT 267 | |
113 | #define PERCENT_NONASSOC 268 | |
114 | #define PERCENT_PREC 269 | |
115 | #define PERCENT_DPREC 270 | |
116 | #define PERCENT_MERGE 271 | |
117 | #define PERCENT_AFTER_HEADER 272 | |
118 | #define PERCENT_BEFORE_HEADER 273 | |
119 | #define PERCENT_DEBUG 274 | |
120 | #define PERCENT_DEFAULT_PREC 275 | |
121 | #define PERCENT_DEFINE 276 | |
122 | #define PERCENT_DEFINES 277 | |
123 | #define PERCENT_END_HEADER 278 | |
124 | #define PERCENT_ERROR_VERBOSE 279 | |
125 | #define PERCENT_EXPECT 280 | |
126 | #define PERCENT_EXPECT_RR 281 | |
127 | #define PERCENT_FILE_PREFIX 282 | |
128 | #define PERCENT_GLR_PARSER 283 | |
129 | #define PERCENT_INITIAL_ACTION 284 | |
130 | #define PERCENT_LEX_PARAM 285 | |
131 | #define PERCENT_LOCATIONS 286 | |
132 | #define PERCENT_NAME_PREFIX 287 | |
133 | #define PERCENT_NO_DEFAULT_PREC 288 | |
134 | #define PERCENT_NO_LINES 289 | |
135 | #define PERCENT_NONDETERMINISTIC_PARSER 290 | |
136 | #define PERCENT_OUTPUT 291 | |
137 | #define PERCENT_PARSE_PARAM 292 | |
138 | #define PERCENT_PURE_PARSER 293 | |
139 | #define PERCENT_REQUIRE 294 | |
140 | #define PERCENT_SKELETON 295 | |
141 | #define PERCENT_START 296 | |
142 | #define PERCENT_START_HEADER 297 | |
143 | #define PERCENT_TOKEN_TABLE 298 | |
144 | #define PERCENT_VERBOSE 299 | |
145 | #define PERCENT_YACC 300 | |
146 | #define BRACED_CODE 301 | |
147 | #define CHAR 302 | |
148 | #define EPILOGUE 303 | |
149 | #define EQUAL 304 | |
150 | #define ID 305 | |
151 | #define ID_COLON 306 | |
152 | #define PERCENT_PERCENT 307 | |
153 | #define PIPE 308 | |
154 | #define PROLOGUE 309 | |
155 | #define SEMICOLON 310 | |
156 | #define TYPE 311 | |
157 | #define PERCENT_UNION 312 | |
1f4cc0f4 | 158 | |
1921f1d7 AD |
159 | |
160 | ||
161 | ||
bf8b3d98 PE |
162 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
163 | typedef union YYSTYPE | |
219741d8 JD |
164 | {/* Line 1535 of yacc.c. */ |
165 | #line 98 "parse-gram.y" | |
50a33993 | 166 | |
05d18c24 PE |
167 | symbol *symbol; |
168 | symbol_list *list; | |
e9955c83 | 169 | int integer; |
05d18c24 PE |
170 | char *chars; |
171 | assoc assoc; | |
172 | uniqstr uniqstr; | |
58d7a1a1 | 173 | unsigned char character; |
f52b276c | 174 | } |
219741d8 | 175 | /* Line 1535 of yacc.c. */ |
3be03b13 | 176 | #line 177 "parse-gram.h" |
f52b276c | 177 | YYSTYPE; |
1f4cc0f4 | 178 | # define YYSTYPE_IS_TRIVIAL 1 |
73521d9f PE |
179 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
180 | # define YYSTYPE_IS_DECLARED 1 | |
e9955c83 AD |
181 | #endif |
182 | ||
1921f1d7 AD |
183 | |
184 | ||
bf8b3d98 | 185 | #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED |
73521d9f | 186 | typedef struct YYLTYPE |
e9955c83 AD |
187 | { |
188 | int first_line; | |
189 | int first_column; | |
190 | int last_line; | |
191 | int last_column; | |
73521d9f PE |
192 | } YYLTYPE; |
193 | # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ | |
194 | # define YYLTYPE_IS_DECLARED 1 | |
195 | # define YYLTYPE_IS_TRIVIAL 1 | |
e9955c83 AD |
196 | #endif |
197 | ||
198 | ||
9bc0dd67 | 199 |