]> git.saurik.com Git - bison.git/blame_incremental - src/parse-gram.h
Do not include <assert.h>.
[bison.git] / src / parse-gram.h
... / ...
CommitLineData
1/* A Bison parser, made by GNU Bison 1.75b. */
2
3/* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21/* As a special exception, when this file is copied by Bison into a
22 Bison output file, you may use that output file without restriction.
23 This special exception was added by the Free Software Foundation
24 in version 1.24 of Bison. */
25
26/* Tokens. */
27#ifndef YYTOKENTYPE
28# define YYTOKENTYPE
29 /* Put the tokens into the symbol table, so that GDB and other debuggers
30 know about them. */
31 enum yytokentype {
32 GRAM_EOF = 0,
33 STRING = 258,
34 INT = 259,
35 PERCENT_TOKEN = 260,
36 PERCENT_NTERM = 261,
37 PERCENT_TYPE = 262,
38 PERCENT_DESTRUCTOR = 263,
39 PERCENT_PRINTER = 264,
40 PERCENT_UNION = 265,
41 PERCENT_LEFT = 266,
42 PERCENT_RIGHT = 267,
43 PERCENT_NONASSOC = 268,
44 PERCENT_PREC = 269,
45 PERCENT_DPREC = 270,
46 PERCENT_MERGE = 271,
47 PERCENT_DEBUG = 272,
48 PERCENT_DEFINE = 273,
49 PERCENT_DEFINES = 274,
50 PERCENT_ERROR_VERBOSE = 275,
51 PERCENT_EXPECT = 276,
52 PERCENT_FILE_PREFIX = 277,
53 PERCENT_GLR_PARSER = 278,
54 PERCENT_LEX_PARAM = 279,
55 PERCENT_LOCATIONS = 280,
56 PERCENT_NAME_PREFIX = 281,
57 PERCENT_NO_LINES = 282,
58 PERCENT_OUTPUT = 283,
59 PERCENT_PARSE_PARAM = 284,
60 PERCENT_PURE_PARSER = 285,
61 PERCENT_SKELETON = 286,
62 PERCENT_START = 287,
63 PERCENT_TOKEN_TABLE = 288,
64 PERCENT_VERBOSE = 289,
65 PERCENT_YACC = 290,
66 TYPE = 291,
67 EQUAL = 292,
68 SEMICOLON = 293,
69 COLON = 294,
70 COMMA = 295,
71 PIPE = 296,
72 ID = 297,
73 PERCENT_PERCENT = 298,
74 PROLOGUE = 299,
75 EPILOGUE = 300,
76 BRACED_CODE = 301
77 };
78#endif
79#define GRAM_EOF 0
80#define STRING 258
81#define INT 259
82#define PERCENT_TOKEN 260
83#define PERCENT_NTERM 261
84#define PERCENT_TYPE 262
85#define PERCENT_DESTRUCTOR 263
86#define PERCENT_PRINTER 264
87#define PERCENT_UNION 265
88#define PERCENT_LEFT 266
89#define PERCENT_RIGHT 267
90#define PERCENT_NONASSOC 268
91#define PERCENT_PREC 269
92#define PERCENT_DPREC 270
93#define PERCENT_MERGE 271
94#define PERCENT_DEBUG 272
95#define PERCENT_DEFINE 273
96#define PERCENT_DEFINES 274
97#define PERCENT_ERROR_VERBOSE 275
98#define PERCENT_EXPECT 276
99#define PERCENT_FILE_PREFIX 277
100#define PERCENT_GLR_PARSER 278
101#define PERCENT_LEX_PARAM 279
102#define PERCENT_LOCATIONS 280
103#define PERCENT_NAME_PREFIX 281
104#define PERCENT_NO_LINES 282
105#define PERCENT_OUTPUT 283
106#define PERCENT_PARSE_PARAM 284
107#define PERCENT_PURE_PARSER 285
108#define PERCENT_SKELETON 286
109#define PERCENT_START 287
110#define PERCENT_TOKEN_TABLE 288
111#define PERCENT_VERBOSE 289
112#define PERCENT_YACC 290
113#define TYPE 291
114#define EQUAL 292
115#define SEMICOLON 293
116#define COLON 294
117#define COMMA 295
118#define PIPE 296
119#define ID 297
120#define PERCENT_PERCENT 298
121#define PROLOGUE 299
122#define EPILOGUE 300
123#define BRACED_CODE 301
124
125
126
127
128#ifndef YYSTYPE
129#line 89 "parse-gram.y"
130typedef union {
131 symbol_t *symbol;
132 symbol_list_t *list;
133 int integer;
134 char *string;
135 assoc_t assoc;
136 struniq_t struniq;
137} yystype;
138/* Line 1212 of /usr/local/share/bison/yacc.c. */
139#line 139 "y.tab.h"
140# define YYSTYPE yystype
141# define YYSTYPE_IS_TRIVIAL 1
142#endif
143
144
145
146#ifndef YYLTYPE
147typedef struct yyltype
148{
149 int first_line;
150 int first_column;
151 int last_line;
152 int last_column;
153} yyltype;
154# define YYLTYPE yyltype
155#endif
156
157
158
159