1 /* A Bison parser, made by GNU Bison 2.7.1116-42fef. */
3 /* Bison interface for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
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 3 of the License, or
10 (at your option) any later version.
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.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 /* As a special exception, you may create a larger work that contains
21 part or all of the Bison parser skeleton and distribute that work
22 under terms of your choice, so long as that work isn't itself a
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
26 special exception, which will cause the skeleton and the resulting
27 Bison output files to be licensed under the GNU General Public
28 License without this special exception.
30 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
33 #ifndef YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED
34 # define YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED
43 # else /* ! defined YYDEBUG */
45 # endif /* ! defined YYDEBUG */
46 #endif /* ! defined GRAM_DEBUG */
48 extern int gram_debug
;
50 /* "%code requires" blocks. */
51 #line 219 "src/parse-gram.y" /* yacc.c:1932 */
60 param_both
= param_lex
| param_parse
65 #line 66 "src/parse-gram.h" /* yacc.c:1932 */
68 #ifndef GRAM_TOKENTYPE
69 # define GRAM_TOKENTYPE
78 PERCENT_DESTRUCTOR
= 263,
79 PERCENT_PRINTER
= 264,
82 PERCENT_NONASSOC
= 267,
83 PERCENT_PRECEDENCE
= 268,
88 PERCENT_DEFAULT_PREC
= 273,
90 PERCENT_DEFINES
= 275,
91 PERCENT_ERROR_VERBOSE
= 276,
93 PERCENT_EXPECT_RR
= 278,
95 PERCENT_FILE_PREFIX
= 280,
96 PERCENT_GLR_PARSER
= 281,
97 PERCENT_INITIAL_ACTION
= 282,
98 PERCENT_LANGUAGE
= 283,
99 PERCENT_NAME_PREFIX
= 284,
100 PERCENT_NO_DEFAULT_PREC
= 285,
101 PERCENT_NO_LINES
= 286,
102 PERCENT_NONDETERMINISTIC_PARSER
= 287,
103 PERCENT_OUTPUT
= 288,
104 PERCENT_REQUIRE
= 289,
105 PERCENT_SKELETON
= 290,
107 PERCENT_TOKEN_TABLE
= 292,
108 PERCENT_VERBOSE
= 293,
111 BRACED_PREDICATE
= 296,
118 PERCENT_PERCENT
= 303,
134 #define PERCENT_TOKEN 260
135 #define PERCENT_NTERM 261
136 #define PERCENT_TYPE 262
137 #define PERCENT_DESTRUCTOR 263
138 #define PERCENT_PRINTER 264
139 #define PERCENT_LEFT 265
140 #define PERCENT_RIGHT 266
141 #define PERCENT_NONASSOC 267
142 #define PERCENT_PRECEDENCE 268
143 #define PERCENT_PREC 269
144 #define PERCENT_DPREC 270
145 #define PERCENT_MERGE 271
146 #define PERCENT_CODE 272
147 #define PERCENT_DEFAULT_PREC 273
148 #define PERCENT_DEFINE 274
149 #define PERCENT_DEFINES 275
150 #define PERCENT_ERROR_VERBOSE 276
151 #define PERCENT_EXPECT 277
152 #define PERCENT_EXPECT_RR 278
153 #define PERCENT_FLAG 279
154 #define PERCENT_FILE_PREFIX 280
155 #define PERCENT_GLR_PARSER 281
156 #define PERCENT_INITIAL_ACTION 282
157 #define PERCENT_LANGUAGE 283
158 #define PERCENT_NAME_PREFIX 284
159 #define PERCENT_NO_DEFAULT_PREC 285
160 #define PERCENT_NO_LINES 286
161 #define PERCENT_NONDETERMINISTIC_PARSER 287
162 #define PERCENT_OUTPUT 288
163 #define PERCENT_REQUIRE 289
164 #define PERCENT_SKELETON 290
165 #define PERCENT_START 291
166 #define PERCENT_TOKEN_TABLE 292
167 #define PERCENT_VERBOSE 293
168 #define PERCENT_YACC 294
169 #define BRACED_CODE 295
170 #define BRACED_PREDICATE 296
171 #define BRACKETED_ID 297
177 #define PERCENT_PERCENT 303
180 #define SEMICOLON 306
184 #define PERCENT_PARAM 310
185 #define PERCENT_UNION 311
186 #define PERCENT_EMPTY 312
189 #if ! defined GRAM_STYPE && ! defined GRAM_STYPE_IS_DECLARED
190 typedef union GRAM_STYPE GRAM_STYPE
;
193 #line 105 "src/parse-gram.y" /* yacc.c:1932 */
199 named_ref
*named_ref
;
203 unsigned char character
;
205 #line 243 "src/parse-gram.y" /* yacc.c:1932 */
209 #line 419 "src/parse-gram.y" /* yacc.c:1932 */
210 code_props_type code_type
;
212 #line 213 "src/parse-gram.h" /* yacc.c:1932 */
214 # define GRAM_STYPE_IS_TRIVIAL 1
215 # define GRAM_STYPE_IS_DECLARED 1
219 #if ! defined GRAM_LTYPE && ! defined GRAM_LTYPE_IS_DECLARED
220 typedef struct GRAM_LTYPE GRAM_LTYPE
;
228 # define GRAM_LTYPE_IS_DECLARED 1
229 # define GRAM_LTYPE_IS_TRIVIAL 1
234 int gram_parse (void);
236 #endif /* !YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED */