]>
Commit | Line | Data |
---|---|---|
ae7453f2 | 1 | /* A Bison parser, made from parse-gram.y, by GNU bison 1.75a. */ |
04b6e11e PE |
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 | ||
2c569025 AD |
26 | #ifndef BISON_PARSE_GRAM_H |
27 | # define BISON_PARSE_GRAM_H | |
e96c9728 | 28 | |
1921f1d7 AD |
29 | /* Tokens. */ |
30 | #ifndef YYTOKENTYPE | |
ae7453f2 | 31 | # define YYTOKENTYPE |
1921f1d7 AD |
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 | CHARACTER = 259, | |
38 | INT = 260, | |
39 | PERCENT_TOKEN = 261, | |
40 | PERCENT_NTERM = 262, | |
41 | PERCENT_TYPE = 263, | |
9280d3ef | 42 | PERCENT_DESTRUCTOR = 264, |
366eea36 AD |
43 | PERCENT_PRINTER = 265, |
44 | PERCENT_UNION = 266, | |
45 | PERCENT_LEFT = 267, | |
46 | PERCENT_RIGHT = 268, | |
47 | PERCENT_NONASSOC = 269, | |
ae7453f2 AD |
48 | PERCENT_PREC = 270, |
49 | PERCENT_DPREC = 271, | |
50 | PERCENT_MERGE = 272, | |
51 | PERCENT_DEBUG = 273, | |
52 | PERCENT_DEFINE = 274, | |
53 | PERCENT_DEFINES = 275, | |
676385e2 | 54 | PERCENT_ERROR_VERBOSE = 276, |
ae7453f2 | 55 | PERCENT_EXPECT = 277, |
676385e2 | 56 | PERCENT_FILE_PREFIX = 278, |
ae7453f2 AD |
57 | PERCENT_GLR_PARSER = 279, |
58 | PERCENT_LEX_PARAM = 280, | |
59 | PERCENT_LOCATIONS = 281, | |
60 | PERCENT_NAME_PREFIX = 282, | |
61 | PERCENT_NO_LINES = 283, | |
62 | PERCENT_OUTPUT = 284, | |
63 | PERCENT_PARSE_PARAM = 285, | |
64 | PERCENT_PURE_PARSER = 286, | |
65 | PERCENT_SKELETON = 287, | |
66 | PERCENT_START = 288, | |
676385e2 | 67 | PERCENT_TOKEN_TABLE = 289, |
ae7453f2 AD |
68 | PERCENT_VERBOSE = 290, |
69 | PERCENT_YACC = 291, | |
70 | TYPE = 292, | |
71 | EQUAL = 293, | |
72 | SEMICOLON = 294, | |
73 | COLON = 295, | |
74 | COMMA = 296, | |
75 | PIPE = 297, | |
76 | ID = 298, | |
77 | PERCENT_PERCENT = 299, | |
78 | PROLOGUE = 300, | |
79 | EPILOGUE = 301, | |
80 | BRACED_CODE = 302 | |
1921f1d7 | 81 | }; |
ae7453f2 | 82 | #endif |
1921f1d7 AD |
83 | #define GRAM_EOF 0 |
84 | #define STRING 258 | |
85 | #define CHARACTER 259 | |
86 | #define INT 260 | |
87 | #define PERCENT_TOKEN 261 | |
88 | #define PERCENT_NTERM 262 | |
89 | #define PERCENT_TYPE 263 | |
9280d3ef | 90 | #define PERCENT_DESTRUCTOR 264 |
366eea36 AD |
91 | #define PERCENT_PRINTER 265 |
92 | #define PERCENT_UNION 266 | |
93 | #define PERCENT_LEFT 267 | |
94 | #define PERCENT_RIGHT 268 | |
95 | #define PERCENT_NONASSOC 269 | |
ae7453f2 AD |
96 | #define PERCENT_PREC 270 |
97 | #define PERCENT_DPREC 271 | |
98 | #define PERCENT_MERGE 272 | |
99 | #define PERCENT_DEBUG 273 | |
100 | #define PERCENT_DEFINE 274 | |
101 | #define PERCENT_DEFINES 275 | |
676385e2 | 102 | #define PERCENT_ERROR_VERBOSE 276 |
ae7453f2 | 103 | #define PERCENT_EXPECT 277 |
676385e2 | 104 | #define PERCENT_FILE_PREFIX 278 |
ae7453f2 AD |
105 | #define PERCENT_GLR_PARSER 279 |
106 | #define PERCENT_LEX_PARAM 280 | |
107 | #define PERCENT_LOCATIONS 281 | |
108 | #define PERCENT_NAME_PREFIX 282 | |
109 | #define PERCENT_NO_LINES 283 | |
110 | #define PERCENT_OUTPUT 284 | |
111 | #define PERCENT_PARSE_PARAM 285 | |
112 | #define PERCENT_PURE_PARSER 286 | |
113 | #define PERCENT_SKELETON 287 | |
114 | #define PERCENT_START 288 | |
676385e2 | 115 | #define PERCENT_TOKEN_TABLE 289 |
ae7453f2 AD |
116 | #define PERCENT_VERBOSE 290 |
117 | #define PERCENT_YACC 291 | |
118 | #define TYPE 292 | |
119 | #define EQUAL 293 | |
120 | #define SEMICOLON 294 | |
121 | #define COLON 295 | |
122 | #define COMMA 296 | |
123 | #define PIPE 297 | |
124 | #define ID 298 | |
125 | #define PERCENT_PERCENT 299 | |
126 | #define PROLOGUE 300 | |
127 | #define EPILOGUE 301 | |
128 | #define BRACED_CODE 302 | |
1921f1d7 AD |
129 | |
130 | ||
131 | ||
132 | ||
e9955c83 | 133 | #ifndef YYSTYPE |
b275314e | 134 | #line 89 "parse-gram.y" |
1921f1d7 | 135 | typedef union { |
e9955c83 | 136 | symbol_t *symbol; |
56c47203 | 137 | symbol_list_t *list; |
e9955c83 AD |
138 | int integer; |
139 | char *string; | |
a945ec39 | 140 | assoc_t assoc; |
4cdb01db | 141 | } yystype; |
5c16c6b1 | 142 | /* Line 1310 of /tmp/prefix/share/bison/yacc.c. */ |
ae7453f2 | 143 | #line 144 "y.tab.h" |
e9955c83 AD |
144 | # define YYSTYPE yystype |
145 | #endif | |
146 | ||
1921f1d7 AD |
147 | |
148 | ||
e9955c83 AD |
149 | #ifndef YYLTYPE |
150 | typedef struct yyltype | |
151 | { | |
152 | int first_line; | |
153 | int first_column; | |
154 | int last_line; | |
155 | int last_column; | |
156 | } yyltype; | |
157 | # define YYLTYPE yyltype | |
158 | #endif | |
159 | ||
160 | ||
161 | ||
2c569025 | 162 | #endif /* not BISON_PARSE_GRAM_H */ |
1921f1d7 | 163 |