]> git.saurik.com Git - bison.git/blob - src/parse-gram.h
* src/symtab.c (symbol_free): Remove dead deactivated code:
[bison.git] / src / parse-gram.h
1 /* A Bison parser, made from parse-gram.y, 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 #ifndef BISON_PARSE_GRAM_H
27 # define BISON_PARSE_GRAM_H
28
29 /* Tokens. */
30 #ifndef YYTOKENTYPE
31 # define YYTOKENTYPE
32 /* Put the tokens into the symbol table, so that GDB and other debuggers
33 know about them. */
34 enum yytokentype {
35 GRAM_EOF = 0,
36 STRING = 258,
37 INT = 259,
38 PERCENT_TOKEN = 260,
39 PERCENT_NTERM = 261,
40 PERCENT_TYPE = 262,
41 PERCENT_DESTRUCTOR = 263,
42 PERCENT_PRINTER = 264,
43 PERCENT_UNION = 265,
44 PERCENT_LEFT = 266,
45 PERCENT_RIGHT = 267,
46 PERCENT_NONASSOC = 268,
47 PERCENT_PREC = 269,
48 PERCENT_DPREC = 270,
49 PERCENT_MERGE = 271,
50 PERCENT_DEBUG = 272,
51 PERCENT_DEFINE = 273,
52 PERCENT_DEFINES = 274,
53 PERCENT_ERROR_VERBOSE = 275,
54 PERCENT_EXPECT = 276,
55 PERCENT_FILE_PREFIX = 277,
56 PERCENT_GLR_PARSER = 278,
57 PERCENT_LEX_PARAM = 279,
58 PERCENT_LOCATIONS = 280,
59 PERCENT_NAME_PREFIX = 281,
60 PERCENT_NO_LINES = 282,
61 PERCENT_OUTPUT = 283,
62 PERCENT_PARSE_PARAM = 284,
63 PERCENT_PURE_PARSER = 285,
64 PERCENT_SKELETON = 286,
65 PERCENT_START = 287,
66 PERCENT_TOKEN_TABLE = 288,
67 PERCENT_VERBOSE = 289,
68 PERCENT_YACC = 290,
69 TYPE = 291,
70 EQUAL = 292,
71 SEMICOLON = 293,
72 COLON = 294,
73 COMMA = 295,
74 PIPE = 296,
75 ID = 297,
76 PERCENT_PERCENT = 298,
77 PROLOGUE = 299,
78 EPILOGUE = 300,
79 BRACED_CODE = 301
80 };
81 #endif
82 #define GRAM_EOF 0
83 #define STRING 258
84 #define INT 259
85 #define PERCENT_TOKEN 260
86 #define PERCENT_NTERM 261
87 #define PERCENT_TYPE 262
88 #define PERCENT_DESTRUCTOR 263
89 #define PERCENT_PRINTER 264
90 #define PERCENT_UNION 265
91 #define PERCENT_LEFT 266
92 #define PERCENT_RIGHT 267
93 #define PERCENT_NONASSOC 268
94 #define PERCENT_PREC 269
95 #define PERCENT_DPREC 270
96 #define PERCENT_MERGE 271
97 #define PERCENT_DEBUG 272
98 #define PERCENT_DEFINE 273
99 #define PERCENT_DEFINES 274
100 #define PERCENT_ERROR_VERBOSE 275
101 #define PERCENT_EXPECT 276
102 #define PERCENT_FILE_PREFIX 277
103 #define PERCENT_GLR_PARSER 278
104 #define PERCENT_LEX_PARAM 279
105 #define PERCENT_LOCATIONS 280
106 #define PERCENT_NAME_PREFIX 281
107 #define PERCENT_NO_LINES 282
108 #define PERCENT_OUTPUT 283
109 #define PERCENT_PARSE_PARAM 284
110 #define PERCENT_PURE_PARSER 285
111 #define PERCENT_SKELETON 286
112 #define PERCENT_START 287
113 #define PERCENT_TOKEN_TABLE 288
114 #define PERCENT_VERBOSE 289
115 #define PERCENT_YACC 290
116 #define TYPE 291
117 #define EQUAL 292
118 #define SEMICOLON 293
119 #define COLON 294
120 #define COMMA 295
121 #define PIPE 296
122 #define ID 297
123 #define PERCENT_PERCENT 298
124 #define PROLOGUE 299
125 #define EPILOGUE 300
126 #define BRACED_CODE 301
127
128
129
130
131 #ifndef YYSTYPE
132 #line 89 "parse-gram.y"
133 typedef union {
134 symbol_t *symbol;
135 symbol_list_t *list;
136 int integer;
137 char *string;
138 assoc_t assoc;
139 struniq_t struniq;
140 } yystype;
141 /* Line 1321 of /usr/local/share/bison/yacc.c. */
142 #line 143 "y.tab.h"
143 # define YYSTYPE yystype
144 #endif
145
146
147
148 #ifndef YYLTYPE
149 typedef struct yyltype
150 {
151 int first_line;
152 int first_column;
153 int last_line;
154 int last_column;
155 } yyltype;
156 # define YYLTYPE yyltype
157 #endif
158
159
160
161 #endif /* not BISON_PARSE_GRAM_H */
162