1 /* A Bison parser, made by GNU Bison 3.0.2.13-975bb-dirty. */
3 /* Bison interface for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2015 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 21 "src/parse-gram.y" /* yacc.c:1909 */
55 #line 221 "src/parse-gram.y" /* yacc.c:1909 */
62 param_both
= param_lex
| param_parse
64 #line 647 "src/parse-gram.y" /* yacc.c:1909 */
65 #include "muscle-tab.h"
67 #line 68 "src/parse-gram.h" /* yacc.c:1909 */
70 #ifndef GRAM_TOKENTYPE
71 # define GRAM_TOKENTYPE
79 PERCENT_DESTRUCTOR
= 262,
80 PERCENT_PRINTER
= 263,
83 PERCENT_NONASSOC
= 266,
84 PERCENT_PRECEDENCE
= 267,
89 PERCENT_DEFAULT_PREC
= 272,
91 PERCENT_DEFINES
= 274,
92 PERCENT_ERROR_VERBOSE
= 275,
94 PERCENT_EXPECT_RR
= 277,
96 PERCENT_FILE_PREFIX
= 279,
97 PERCENT_GLR_PARSER
= 280,
98 PERCENT_INITIAL_ACTION
= 281,
99 PERCENT_LANGUAGE
= 282,
100 PERCENT_NAME_PREFIX
= 283,
101 PERCENT_NO_DEFAULT_PREC
= 284,
102 PERCENT_NO_LINES
= 285,
103 PERCENT_NONDETERMINISTIC_PARSER
= 286,
104 PERCENT_OUTPUT
= 287,
105 PERCENT_REQUIRE
= 288,
106 PERCENT_SKELETON
= 289,
108 PERCENT_TOKEN_TABLE
= 291,
109 PERCENT_VERBOSE
= 292,
112 BRACED_PREDICATE
= 295,
119 PERCENT_PERCENT
= 302,
134 #if ! defined GRAM_STYPE && ! defined GRAM_STYPE_IS_DECLARED
138 #line 182 "src/parse-gram.y" /* yacc.c:1909 */
139 unsigned char character
;
140 #line 186 "src/parse-gram.y" /* yacc.c:1909 */
142 #line 191 "src/parse-gram.y" /* yacc.c:1909 */
144 #line 199 "src/parse-gram.y" /* yacc.c:1909 */
146 #line 203 "src/parse-gram.y" /* yacc.c:1909 */
148 #line 208 "src/parse-gram.y" /* yacc.c:1909 */
150 #line 211 "src/parse-gram.y" /* yacc.c:1909 */
152 #line 214 "src/parse-gram.y" /* yacc.c:1909 */
153 named_ref
*named_ref
;
154 #line 241 "src/parse-gram.y" /* yacc.c:1909 */
156 #line 409 "src/parse-gram.y" /* yacc.c:1909 */
157 code_props_type code_type
;
158 #line 649 "src/parse-gram.y" /* yacc.c:1909 */
166 #line 167 "src/parse-gram.h" /* yacc.c:1909 */
169 typedef union GRAM_STYPE GRAM_STYPE
;
170 # define GRAM_STYPE_IS_TRIVIAL 1
171 # define GRAM_STYPE_IS_DECLARED 1
175 #if ! defined GRAM_LTYPE && ! defined GRAM_LTYPE_IS_DECLARED
176 typedef struct GRAM_LTYPE GRAM_LTYPE
;
184 # define GRAM_LTYPE_IS_DECLARED 1
185 # define GRAM_LTYPE_IS_TRIVIAL 1
190 int gram_parse (void);
192 #endif /* !YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED */