1 /* A Bison parser, made by GNU Bison 2.4.390-0aaa. */
3 /* Interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
6 2007, 2008, 2009 Free Software Foundation, Inc.
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 3 of the License, or
11 (at your option) any later version.
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.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
21 /* As a special exception, you may create a larger work that contains
22 part or all of the Bison parser skeleton and distribute that work
23 under terms of your choice, so long as that work isn't itself a
24 parser generator using the skeleton or a modified version thereof
25 as a parser skeleton. Alternatively, if you modify or redistribute
26 the parser skeleton itself, you may (at your option) remove this
27 special exception, which will cause the skeleton and the resulting
28 Bison output files to be licensed under the GNU General Public
29 License without this special exception.
31 This special exception was added by the Free Software Foundation in
32 version 2.2 of Bison. */
37 /* Put the tokens into the symbol table, so that GDB and other debuggers
46 PERCENT_DESTRUCTOR
= 263,
47 PERCENT_PRINTER
= 264,
50 PERCENT_NONASSOC
= 267,
51 PERCENT_PRECEDENCE
= 268,
56 PERCENT_DEFAULT_PREC
= 273,
58 PERCENT_DEFINES
= 275,
59 PERCENT_ERROR_VERBOSE
= 276,
61 PERCENT_EXPECT_RR
= 278,
63 PERCENT_FILE_PREFIX
= 280,
64 PERCENT_GLR_PARSER
= 281,
65 PERCENT_INITIAL_ACTION
= 282,
66 PERCENT_LANGUAGE
= 283,
67 PERCENT_LEX_PARAM
= 284,
68 PERCENT_NAME_PREFIX
= 285,
69 PERCENT_NO_DEFAULT_PREC
= 286,
70 PERCENT_NO_LINES
= 287,
71 PERCENT_NONDETERMINISTIC_PARSER
= 288,
73 PERCENT_PARSE_PARAM
= 290,
74 PERCENT_REQUIRE
= 291,
75 PERCENT_SKELETON
= 292,
77 PERCENT_TOKEN_TABLE
= 294,
78 PERCENT_VERBOSE
= 295,
86 PERCENT_PERCENT
= 303,
101 #define PERCENT_TOKEN 260
102 #define PERCENT_NTERM 261
103 #define PERCENT_TYPE 262
104 #define PERCENT_DESTRUCTOR 263
105 #define PERCENT_PRINTER 264
106 #define PERCENT_LEFT 265
107 #define PERCENT_RIGHT 266
108 #define PERCENT_NONASSOC 267
109 #define PERCENT_PRECEDENCE 268
110 #define PERCENT_PREC 269
111 #define PERCENT_DPREC 270
112 #define PERCENT_MERGE 271
113 #define PERCENT_CODE 272
114 #define PERCENT_DEFAULT_PREC 273
115 #define PERCENT_DEFINE 274
116 #define PERCENT_DEFINES 275
117 #define PERCENT_ERROR_VERBOSE 276
118 #define PERCENT_EXPECT 277
119 #define PERCENT_EXPECT_RR 278
120 #define PERCENT_FLAG 279
121 #define PERCENT_FILE_PREFIX 280
122 #define PERCENT_GLR_PARSER 281
123 #define PERCENT_INITIAL_ACTION 282
124 #define PERCENT_LANGUAGE 283
125 #define PERCENT_LEX_PARAM 284
126 #define PERCENT_NAME_PREFIX 285
127 #define PERCENT_NO_DEFAULT_PREC 286
128 #define PERCENT_NO_LINES 287
129 #define PERCENT_NONDETERMINISTIC_PARSER 288
130 #define PERCENT_OUTPUT 289
131 #define PERCENT_PARSE_PARAM 290
132 #define PERCENT_REQUIRE 291
133 #define PERCENT_SKELETON 292
134 #define PERCENT_START 293
135 #define PERCENT_TOKEN_TABLE 294
136 #define PERCENT_VERBOSE 295
137 #define PERCENT_YACC 296
138 #define BRACED_CODE 297
144 #define PERCENT_PERCENT 303
147 #define SEMICOLON 306
151 #define BRACKETED_ID 310
152 #define PERCENT_UNION 311
157 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
158 typedef union YYSTYPE
160 /* Line 1608 of yacc.c */
161 #line 94 "parse-gram.y"
170 unsigned char character
;
171 named_ref
*named_ref
;
174 /* Line 1608 of yacc.c */
175 #line 176 "src/parse-gram.h"
177 # define YYSTYPE_IS_TRIVIAL 1
178 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
179 # define YYSTYPE_IS_DECLARED 1
184 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
185 typedef struct YYLTYPE
192 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
193 # define YYLTYPE_IS_DECLARED 1
194 # define YYLTYPE_IS_TRIVIAL 1