Regen.
[bison/ericb.git] / src / parse-gram.h
blob2d8d9e5c8e9a0d69ee99620471c25ca552cebbdb
1 /* A Bison parser, made by GNU Bison 2.4.266-78f6. */
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. */
34 /* Tokens. */
35 #ifndef YYTOKENTYPE
36 # define YYTOKENTYPE
37 /* Put the tokens into the symbol table, so that GDB and other debuggers
38 know about them. */
39 enum yytokentype {
40 GRAM_EOF = 0,
41 STRING = 258,
42 INT = 259,
43 PERCENT_TOKEN = 260,
44 PERCENT_NTERM = 261,
45 PERCENT_TYPE = 262,
46 PERCENT_DESTRUCTOR = 263,
47 PERCENT_PRINTER = 264,
48 PERCENT_LEFT = 265,
49 PERCENT_RIGHT = 266,
50 PERCENT_NONASSOC = 267,
51 PERCENT_PRECEDENCE = 268,
52 PERCENT_PREC = 269,
53 PERCENT_DPREC = 270,
54 PERCENT_MERGE = 271,
55 PERCENT_CODE = 272,
56 PERCENT_DEFAULT_PREC = 273,
57 PERCENT_DEFINE = 274,
58 PERCENT_DEFINES = 275,
59 PERCENT_EXPECT = 276,
60 PERCENT_EXPECT_RR = 277,
61 PERCENT_FLAG = 278,
62 PERCENT_FILE_PREFIX = 279,
63 PERCENT_GLR_PARSER = 280,
64 PERCENT_INITIAL_ACTION = 281,
65 PERCENT_LANGUAGE = 282,
66 PERCENT_LEX_PARAM = 283,
67 PERCENT_NAME_PREFIX = 284,
68 PERCENT_NO_DEFAULT_PREC = 285,
69 PERCENT_NO_LINES = 286,
70 PERCENT_NONDETERMINISTIC_PARSER = 287,
71 PERCENT_OUTPUT = 288,
72 PERCENT_PARSE_PARAM = 289,
73 PERCENT_REQUIRE = 290,
74 PERCENT_SKELETON = 291,
75 PERCENT_START = 292,
76 PERCENT_TOKEN_TABLE = 293,
77 PERCENT_VERBOSE = 294,
78 PERCENT_YACC = 295,
79 BRACED_CODE = 296,
80 CHAR = 297,
81 EPILOGUE = 298,
82 EQUAL = 299,
83 ID = 300,
84 ID_COLON = 301,
85 PERCENT_PERCENT = 302,
86 PIPE = 303,
87 PROLOGUE = 304,
88 SEMICOLON = 305,
89 TAG = 306,
90 TAG_ANY = 307,
91 TAG_NONE = 308,
92 PERCENT_UNION = 309
94 #endif
95 /* Tokens. */
96 #define GRAM_EOF 0
97 #define STRING 258
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
104 #define PERCENT_LEFT 265
105 #define PERCENT_RIGHT 266
106 #define PERCENT_NONASSOC 267
107 #define PERCENT_PRECEDENCE 268
108 #define PERCENT_PREC 269
109 #define PERCENT_DPREC 270
110 #define PERCENT_MERGE 271
111 #define PERCENT_CODE 272
112 #define PERCENT_DEFAULT_PREC 273
113 #define PERCENT_DEFINE 274
114 #define PERCENT_DEFINES 275
115 #define PERCENT_EXPECT 276
116 #define PERCENT_EXPECT_RR 277
117 #define PERCENT_FLAG 278
118 #define PERCENT_FILE_PREFIX 279
119 #define PERCENT_GLR_PARSER 280
120 #define PERCENT_INITIAL_ACTION 281
121 #define PERCENT_LANGUAGE 282
122 #define PERCENT_LEX_PARAM 283
123 #define PERCENT_NAME_PREFIX 284
124 #define PERCENT_NO_DEFAULT_PREC 285
125 #define PERCENT_NO_LINES 286
126 #define PERCENT_NONDETERMINISTIC_PARSER 287
127 #define PERCENT_OUTPUT 288
128 #define PERCENT_PARSE_PARAM 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
143 #define PROLOGUE 304
144 #define SEMICOLON 305
145 #define TAG 306
146 #define TAG_ANY 307
147 #define TAG_NONE 308
148 #define PERCENT_UNION 309
153 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
154 typedef union YYSTYPE
156 /* Line 1600 of yacc.c */
157 #line 92 "parse-gram.y"
159 symbol *symbol;
160 symbol_list *list;
161 int integer;
162 char const *chars;
163 char *code;
164 assoc assoc;
165 uniqstr uniqstr;
166 unsigned char character;
169 /* Line 1600 of yacc.c */
170 #line 171 "../../src/parse-gram.h"
171 } YYSTYPE;
172 # define YYSTYPE_IS_TRIVIAL 1
173 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
174 # define YYSTYPE_IS_DECLARED 1
175 #endif
179 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
180 typedef struct YYLTYPE
182 int first_line;
183 int first_column;
184 int last_line;
185 int last_column;
186 } YYLTYPE;
187 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
188 # define YYLTYPE_IS_DECLARED 1
189 # define YYLTYPE_IS_TRIVIAL 1
190 #endif