]>
Commit | Line | Data |
---|---|---|
1 | /* A Bison parser, made by GNU Bison 2.3a+. */ | |
2 | ||
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. | |
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 | |
20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
21 | Boston, MA 02110-1301, USA. */ | |
22 | ||
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. */ | |
35 | ||
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 | GRAM_EOF = 0, | |
44 | STRING = 258, | |
45 | INT = 259, | |
46 | PERCENT_TOKEN = 260, | |
47 | PERCENT_NTERM = 261, | |
48 | PERCENT_TYPE = 262, | |
49 | PERCENT_DESTRUCTOR = 263, | |
50 | PERCENT_PRINTER = 264, | |
51 | PERCENT_LEFT = 265, | |
52 | PERCENT_RIGHT = 266, | |
53 | PERCENT_NONASSOC = 267, | |
54 | PERCENT_PREC = 268, | |
55 | PERCENT_DPREC = 269, | |
56 | PERCENT_MERGE = 270, | |
57 | PERCENT_CODE = 271, | |
58 | PERCENT_CODE_TOP = 272, | |
59 | PERCENT_DEBUG = 273, | |
60 | PERCENT_DEFAULT_PREC = 274, | |
61 | PERCENT_DEFINE = 275, | |
62 | PERCENT_DEFINES = 276, | |
63 | PERCENT_ERROR_VERBOSE = 277, | |
64 | PERCENT_EXPECT = 278, | |
65 | PERCENT_EXPECT_RR = 279, | |
66 | PERCENT_FILE_PREFIX = 280, | |
67 | PERCENT_GLR_PARSER = 281, | |
68 | PERCENT_INITIAL_ACTION = 282, | |
69 | PERCENT_LANGUAGE = 283, | |
70 | PERCENT_LEX_PARAM = 284, | |
71 | PERCENT_LOCATIONS = 285, | |
72 | PERCENT_NAME_PREFIX = 286, | |
73 | PERCENT_NO_DEFAULT_PREC = 287, | |
74 | PERCENT_NO_LINES = 288, | |
75 | PERCENT_NONDETERMINISTIC_PARSER = 289, | |
76 | PERCENT_OUTPUT = 290, | |
77 | PERCENT_PARSE_PARAM = 291, | |
78 | PERCENT_PROVIDES = 292, | |
79 | PERCENT_PURE_PARSER = 293, | |
80 | PERCENT_PUSH_PARSER = 294, | |
81 | PERCENT_PUSH_PULL_PARSER = 295, | |
82 | PERCENT_REQUIRE = 296, | |
83 | PERCENT_REQUIRES = 297, | |
84 | PERCENT_SKELETON = 298, | |
85 | PERCENT_START = 299, | |
86 | PERCENT_TOKEN_TABLE = 300, | |
87 | PERCENT_VERBOSE = 301, | |
88 | PERCENT_YACC = 302, | |
89 | BRACED_CODE = 303, | |
90 | CHAR = 304, | |
91 | EPILOGUE = 305, | |
92 | EQUAL = 306, | |
93 | ID = 307, | |
94 | ID_COLON = 308, | |
95 | PERCENT_PERCENT = 309, | |
96 | PIPE = 310, | |
97 | PROLOGUE = 311, | |
98 | SEMICOLON = 312, | |
99 | TYPE = 313, | |
100 | TYPE_TAG_ANY = 314, | |
101 | TYPE_TAG_NONE = 315, | |
102 | PERCENT_UNION = 316 | |
103 | }; | |
104 | #endif | |
105 | /* Tokens. */ | |
106 | #define GRAM_EOF 0 | |
107 | #define STRING 258 | |
108 | #define INT 259 | |
109 | #define PERCENT_TOKEN 260 | |
110 | #define PERCENT_NTERM 261 | |
111 | #define PERCENT_TYPE 262 | |
112 | #define PERCENT_DESTRUCTOR 263 | |
113 | #define PERCENT_PRINTER 264 | |
114 | #define PERCENT_LEFT 265 | |
115 | #define PERCENT_RIGHT 266 | |
116 | #define PERCENT_NONASSOC 267 | |
117 | #define PERCENT_PREC 268 | |
118 | #define PERCENT_DPREC 269 | |
119 | #define PERCENT_MERGE 270 | |
120 | #define PERCENT_CODE 271 | |
121 | #define PERCENT_CODE_TOP 272 | |
122 | #define PERCENT_DEBUG 273 | |
123 | #define PERCENT_DEFAULT_PREC 274 | |
124 | #define PERCENT_DEFINE 275 | |
125 | #define PERCENT_DEFINES 276 | |
126 | #define PERCENT_ERROR_VERBOSE 277 | |
127 | #define PERCENT_EXPECT 278 | |
128 | #define PERCENT_EXPECT_RR 279 | |
129 | #define PERCENT_FILE_PREFIX 280 | |
130 | #define PERCENT_GLR_PARSER 281 | |
131 | #define PERCENT_INITIAL_ACTION 282 | |
132 | #define PERCENT_LANGUAGE 283 | |
133 | #define PERCENT_LEX_PARAM 284 | |
134 | #define PERCENT_LOCATIONS 285 | |
135 | #define PERCENT_NAME_PREFIX 286 | |
136 | #define PERCENT_NO_DEFAULT_PREC 287 | |
137 | #define PERCENT_NO_LINES 288 | |
138 | #define PERCENT_NONDETERMINISTIC_PARSER 289 | |
139 | #define PERCENT_OUTPUT 290 | |
140 | #define PERCENT_PARSE_PARAM 291 | |
141 | #define PERCENT_PROVIDES 292 | |
142 | #define PERCENT_PURE_PARSER 293 | |
143 | #define PERCENT_PUSH_PARSER 294 | |
144 | #define PERCENT_PUSH_PULL_PARSER 295 | |
145 | #define PERCENT_REQUIRE 296 | |
146 | #define PERCENT_REQUIRES 297 | |
147 | #define PERCENT_SKELETON 298 | |
148 | #define PERCENT_START 299 | |
149 | #define PERCENT_TOKEN_TABLE 300 | |
150 | #define PERCENT_VERBOSE 301 | |
151 | #define PERCENT_YACC 302 | |
152 | #define BRACED_CODE 303 | |
153 | #define CHAR 304 | |
154 | #define EPILOGUE 305 | |
155 | #define EQUAL 306 | |
156 | #define ID 307 | |
157 | #define ID_COLON 308 | |
158 | #define PERCENT_PERCENT 309 | |
159 | #define PIPE 310 | |
160 | #define PROLOGUE 311 | |
161 | #define SEMICOLON 312 | |
162 | #define TYPE 313 | |
163 | #define TYPE_TAG_ANY 314 | |
164 | #define TYPE_TAG_NONE 315 | |
165 | #define PERCENT_UNION 316 | |
166 | ||
167 | ||
168 | ||
169 | ||
170 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED | |
171 | typedef union YYSTYPE | |
172 | { | |
173 | /* Line 1538 of yacc.c */ | |
174 | #line 98 "parse-gram.y" | |
175 | ||
176 | symbol *symbol; | |
177 | symbol_list *list; | |
178 | int integer; | |
179 | char const *chars; | |
180 | char *code; | |
181 | assoc assoc; | |
182 | uniqstr uniqstr; | |
183 | unsigned char character; | |
184 | } | |
185 | ||
186 | /* Line 1538 of yacc.c */ | |
187 | #line 188 "parse-gram.h" | |
188 | YYSTYPE; | |
189 | # define YYSTYPE_IS_TRIVIAL 1 | |
190 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ | |
191 | # define YYSTYPE_IS_DECLARED 1 | |
192 | #endif | |
193 | ||
194 | ||
195 | ||
196 | #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED | |
197 | typedef struct YYLTYPE | |
198 | { | |
199 | int first_line; | |
200 | int first_column; | |
201 | int last_line; | |
202 | int last_column; | |
203 | } YYLTYPE; | |
204 | # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ | |
205 | # define YYLTYPE_IS_DECLARED 1 | |
206 | # define YYLTYPE_IS_TRIVIAL 1 | |
207 | #endif | |
208 | ||
209 | ||
210 | ||
211 | ||
212 |