1 /* A Bison parser, made by GNU Bison 2.5.1.779-71bff. */
3 /* Bison interface for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2012 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 GRAM_______SRC_PARSE_GRAM_H
34 # define GRAM_______SRC_PARSE_GRAM_H
35 /* Enabling traces. */
40 extern int gram_debug
;
42 /* "%code requires" blocks. */
43 /* Line 1996 of yacc.c */
44 #line 221 "src/parse-gram.y"
53 param_both
= param_lex
| param_parse
58 /* Line 1996 of yacc.c */
59 #line 60 "src/parse-gram.h"
64 /* Put the tokens into the symbol table, so that GDB and other debuggers
73 PERCENT_DESTRUCTOR
= 263,
74 PERCENT_PRINTER
= 264,
77 PERCENT_NONASSOC
= 267,
78 PERCENT_PRECEDENCE
= 268,
83 PERCENT_DEFAULT_PREC
= 273,
85 PERCENT_DEFINES
= 275,
86 PERCENT_ERROR_VERBOSE
= 276,
88 PERCENT_EXPECT_RR
= 278,
90 PERCENT_FILE_PREFIX
= 280,
91 PERCENT_GLR_PARSER
= 281,
92 PERCENT_INITIAL_ACTION
= 282,
93 PERCENT_LANGUAGE
= 283,
94 PERCENT_NAME_PREFIX
= 284,
95 PERCENT_NO_DEFAULT_PREC
= 285,
96 PERCENT_NO_LINES
= 286,
97 PERCENT_NONDETERMINISTIC_PARSER
= 287,
99 PERCENT_REQUIRE
= 289,
100 PERCENT_SKELETON
= 290,
102 PERCENT_TOKEN_TABLE
= 292,
103 PERCENT_VERBOSE
= 293,
106 BRACED_PREDICATE
= 296,
113 PERCENT_PERCENT
= 303,
128 #define PERCENT_TOKEN 260
129 #define PERCENT_NTERM 261
130 #define PERCENT_TYPE 262
131 #define PERCENT_DESTRUCTOR 263
132 #define PERCENT_PRINTER 264
133 #define PERCENT_LEFT 265
134 #define PERCENT_RIGHT 266
135 #define PERCENT_NONASSOC 267
136 #define PERCENT_PRECEDENCE 268
137 #define PERCENT_PREC 269
138 #define PERCENT_DPREC 270
139 #define PERCENT_MERGE 271
140 #define PERCENT_CODE 272
141 #define PERCENT_DEFAULT_PREC 273
142 #define PERCENT_DEFINE 274
143 #define PERCENT_DEFINES 275
144 #define PERCENT_ERROR_VERBOSE 276
145 #define PERCENT_EXPECT 277
146 #define PERCENT_EXPECT_RR 278
147 #define PERCENT_FLAG 279
148 #define PERCENT_FILE_PREFIX 280
149 #define PERCENT_GLR_PARSER 281
150 #define PERCENT_INITIAL_ACTION 282
151 #define PERCENT_LANGUAGE 283
152 #define PERCENT_NAME_PREFIX 284
153 #define PERCENT_NO_DEFAULT_PREC 285
154 #define PERCENT_NO_LINES 286
155 #define PERCENT_NONDETERMINISTIC_PARSER 287
156 #define PERCENT_OUTPUT 288
157 #define PERCENT_REQUIRE 289
158 #define PERCENT_SKELETON 290
159 #define PERCENT_START 291
160 #define PERCENT_TOKEN_TABLE 292
161 #define PERCENT_VERBOSE 293
162 #define PERCENT_YACC 294
163 #define BRACED_CODE 295
164 #define BRACED_PREDICATE 296
165 #define BRACKETED_ID 297
171 #define PERCENT_PERCENT 303
174 #define SEMICOLON 306
178 #define PERCENT_PARAM 310
179 #define PERCENT_UNION 311
183 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
184 typedef union YYSTYPE
186 /* Line 1996 of yacc.c */
187 #line 107 "src/parse-gram.y"
193 named_ref
*named_ref
;
197 unsigned char character
;
199 /* Line 1996 of yacc.c */
200 #line 245 "src/parse-gram.y"
205 /* Line 1996 of yacc.c */
206 #line 207 "src/parse-gram.h"
208 # define YYSTYPE_IS_TRIVIAL 1
209 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
210 # define YYSTYPE_IS_DECLARED 1
213 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
214 typedef struct YYLTYPE
221 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
222 # define YYLTYPE_IS_DECLARED 1
223 # define YYLTYPE_IS_TRIVIAL 1
227 #if (defined __STDC__ || defined __C99__FUNC__ \
228 || defined __cplusplus || defined _MSC_VER)
229 int gram_parse (void *YYPARSE_PARAM
);
233 #else /* ! YYPARSE_PARAM */
234 #if (defined __STDC__ || defined __C99__FUNC__ \
235 || defined __cplusplus || defined _MSC_VER)
236 int gram_parse (void);
240 #endif /* ! YYPARSE_PARAM */
243 #endif /* !GRAM_______SRC_PARSE_GRAM_H */