]>
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 | |
1921f1d7 AD |
36 | /* Tokens. */ |
37 | #ifndef YYTOKENTYPE | |
ae7453f2 | 38 | # define YYTOKENTYPE |
1921f1d7 AD |
39 | /* Put the tokens into the symbol table, so that GDB and other debuggers |
40 | know about them. */ | |
41 | enum yytokentype { | |
42 | GRAM_EOF = 0, | |
43 | STRING = 258, | |
62ddaef6 PE |
44 | INT = 259, |
45 | PERCENT_TOKEN = 260, | |
46 | PERCENT_NTERM = 261, | |
47 | PERCENT_TYPE = 262, | |
48 | PERCENT_DESTRUCTOR = 263, | |
49 | PERCENT_PRINTER = 264, | |
58d7a1a1 AD |
50 | PERCENT_LEFT = 265, |
51 | PERCENT_RIGHT = 266, | |
52 | PERCENT_NONASSOC = 267, | |
53 | PERCENT_PREC = 268, | |
54 | PERCENT_DPREC = 269, | |
55 | PERCENT_MERGE = 270, | |
56 | PERCENT_DEBUG = 271, | |
57 | PERCENT_DEFAULT_PREC = 272, | |
58 | PERCENT_DEFINE = 273, | |
59 | PERCENT_DEFINES = 274, | |
60 | PERCENT_ERROR_VERBOSE = 275, | |
61 | PERCENT_EXPECT = 276, | |
62 | PERCENT_EXPECT_RR = 277, | |
63 | PERCENT_FILE_PREFIX = 278, | |
64 | PERCENT_GLR_PARSER = 279, | |
65 | PERCENT_INITIAL_ACTION = 280, | |
66 | PERCENT_LEX_PARAM = 281, | |
67 | PERCENT_LOCATIONS = 282, | |
68 | PERCENT_NAME_PREFIX = 283, | |
69 | PERCENT_NO_DEFAULT_PREC = 284, | |
70 | PERCENT_NO_LINES = 285, | |
71 | PERCENT_NONDETERMINISTIC_PARSER = 286, | |
72 | PERCENT_OUTPUT = 287, | |
73 | PERCENT_PARSE_PARAM = 288, | |
74 | PERCENT_PURE_PARSER = 289, | |
75 | PERCENT_REQUIRE = 290, | |
76 | PERCENT_SKELETON = 291, | |
77 | PERCENT_START = 292, | |
78 | PERCENT_TOKEN_TABLE = 293, | |
79 | PERCENT_VERBOSE = 294, | |
80 | PERCENT_YACC = 295, | |
81 | BRACED_CODE = 296, | |
82 | CHAR = 297, | |
83 | EPILOGUE = 298, | |
84 | EQUAL = 299, | |
85 | ID = 300, | |
86 | ID_COLON = 301, | |
87 | PERCENT_PERCENT = 302, | |
88 | PIPE = 303, | |
b50d2359 | 89 | PROLOGUE = 304, |
58d7a1a1 AD |
90 | SEMICOLON = 305, |
91 | TYPE = 306, | |
92 | PERCENT_UNION = 307 | |
1921f1d7 | 93 | }; |
ae7453f2 | 94 | #endif |
f5109f5a | 95 | /* Tokens. */ |
1921f1d7 AD |
96 | #define GRAM_EOF 0 |
97 | #define STRING 258 | |
62ddaef6 PE |
98 | #define INT 259 |
99 | #define PERCENT_TOKEN 260 | |
100 | #define PERCENT_NTERM 261 | |
101 | #define PERCENT_TYPE 262 | |
102 | #define PERCENT_DESTRUCTOR 263 | |
103 | #define PERCENT_PRINTER 264 | |
58d7a1a1 AD |
104 | #define PERCENT_LEFT 265 |
105 | #define PERCENT_RIGHT 266 | |
106 | #define PERCENT_NONASSOC 267 | |
107 | #define PERCENT_PREC 268 | |
108 | #define PERCENT_DPREC 269 | |
109 | #define PERCENT_MERGE 270 | |
110 | #define PERCENT_DEBUG 271 | |
111 | #define PERCENT_DEFAULT_PREC 272 | |
112 | #define PERCENT_DEFINE 273 | |
113 | #define PERCENT_DEFINES 274 | |
114 | #define PERCENT_ERROR_VERBOSE 275 | |
115 | #define PERCENT_EXPECT 276 | |
116 | #define PERCENT_EXPECT_RR 277 | |
117 | #define PERCENT_FILE_PREFIX 278 | |
118 | #define PERCENT_GLR_PARSER 279 | |
119 | #define PERCENT_INITIAL_ACTION 280 | |
120 | #define PERCENT_LEX_PARAM 281 | |
121 | #define PERCENT_LOCATIONS 282 | |
122 | #define PERCENT_NAME_PREFIX 283 | |
123 | #define PERCENT_NO_DEFAULT_PREC 284 | |
124 | #define PERCENT_NO_LINES 285 | |
125 | #define PERCENT_NONDETERMINISTIC_PARSER 286 | |
126 | #define PERCENT_OUTPUT 287 | |
127 | #define PERCENT_PARSE_PARAM 288 | |
128 | #define PERCENT_PURE_PARSER 289 | |
129 | #define PERCENT_REQUIRE 290 | |
130 | #define PERCENT_SKELETON 291 | |
131 | #define PERCENT_START 292 | |
132 | #define PERCENT_TOKEN_TABLE 293 | |
133 | #define PERCENT_VERBOSE 294 | |
134 | #define PERCENT_YACC 295 | |
135 | #define BRACED_CODE 296 | |
136 | #define CHAR 297 | |
137 | #define EPILOGUE 298 | |
138 | #define EQUAL 299 | |
139 | #define ID 300 | |
140 | #define ID_COLON 301 | |
141 | #define PERCENT_PERCENT 302 | |
142 | #define PIPE 303 | |
b50d2359 | 143 | #define PROLOGUE 304 |
58d7a1a1 AD |
144 | #define SEMICOLON 305 |
145 | #define TYPE 306 | |
146 | #define PERCENT_UNION 307 | |
1921f1d7 AD |
147 | |
148 | ||
149 | ||
150 | ||
bf8b3d98 PE |
151 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
152 | typedef union YYSTYPE | |
203b9274 | 153 | #line 97 "../../src/parse-gram.y" |
f52b276c | 154 | { |
05d18c24 PE |
155 | symbol *symbol; |
156 | symbol_list *list; | |
e9955c83 | 157 | int integer; |
05d18c24 PE |
158 | char *chars; |
159 | assoc assoc; | |
160 | uniqstr uniqstr; | |
58d7a1a1 | 161 | unsigned char character; |
f52b276c | 162 | } |
d2a1a60a | 163 | /* Line 1529 of yacc.c. */ |
203b9274 | 164 | #line 165 "../../src/parse-gram.h" |
f52b276c | 165 | YYSTYPE; |
73521d9f PE |
166 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
167 | # define YYSTYPE_IS_DECLARED 1 | |
886b69d1 | 168 | # define YYSTYPE_IS_TRIVIAL 1 |
e9955c83 AD |
169 | #endif |
170 | ||
1921f1d7 AD |
171 | |
172 | ||
bf8b3d98 | 173 | #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED |
73521d9f | 174 | typedef struct YYLTYPE |
e9955c83 AD |
175 | { |
176 | int first_line; | |
177 | int first_column; | |
178 | int last_line; | |
179 | int last_column; | |
73521d9f PE |
180 | } YYLTYPE; |
181 | # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ | |
182 | # define YYLTYPE_IS_DECLARED 1 | |
183 | # define YYLTYPE_IS_TRIVIAL 1 | |
e9955c83 AD |
184 | #endif |
185 | ||
186 |