]>
Commit | Line | Data |
---|---|---|
cd3684cf | 1 | /* A Bison parser, made by GNU Bison 1.875c. */ |
04b6e11e PE |
2 | |
3 | /* Skeleton parser for Yacc-like parsing with Bison, | |
1d64f0ba | 4 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
04b6e11e PE |
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 | ||
1921f1d7 AD |
26 | /* Tokens. */ |
27 | #ifndef YYTOKENTYPE | |
ae7453f2 | 28 | # define YYTOKENTYPE |
1921f1d7 AD |
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, | |
62ddaef6 PE |
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, | |
92f5e991 AD |
48 | PERCENT_DEFAULT_PREC = 273, |
49 | PERCENT_DEFINE = 274, | |
50 | PERCENT_DEFINES = 275, | |
51 | PERCENT_ERROR_VERBOSE = 276, | |
52 | PERCENT_EXPECT = 277, | |
53 | PERCENT_FILE_PREFIX = 278, | |
54 | PERCENT_GLR_PARSER = 279, | |
55 | PERCENT_INITIAL_ACTION = 280, | |
56 | PERCENT_LEX_PARAM = 281, | |
57 | PERCENT_LOCATIONS = 282, | |
58 | PERCENT_NAME_PREFIX = 283, | |
66ef8b9d PE |
59 | PERCENT_NO_DEFAULT_PREC = 284, |
60 | PERCENT_NO_LINES = 285, | |
61 | PERCENT_NONDETERMINISTIC_PARSER = 286, | |
62 | PERCENT_OUTPUT = 287, | |
63 | PERCENT_PARSE_PARAM = 288, | |
64 | PERCENT_PURE_PARSER = 289, | |
65 | PERCENT_SKELETON = 290, | |
66 | PERCENT_START = 291, | |
67 | PERCENT_TOKEN_TABLE = 292, | |
68 | PERCENT_VERBOSE = 293, | |
69 | PERCENT_YACC = 294, | |
70 | TYPE = 295, | |
71 | EQUAL = 296, | |
72 | SEMICOLON = 297, | |
73 | PIPE = 298, | |
74 | ID = 299, | |
75 | ID_COLON = 300, | |
76 | PERCENT_PERCENT = 301, | |
77 | PROLOGUE = 302, | |
78 | EPILOGUE = 303, | |
79 | BRACED_CODE = 304 | |
1921f1d7 | 80 | }; |
ae7453f2 | 81 | #endif |
1921f1d7 AD |
82 | #define GRAM_EOF 0 |
83 | #define STRING 258 | |
62ddaef6 PE |
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 | |
92f5e991 AD |
98 | #define PERCENT_DEFAULT_PREC 273 |
99 | #define PERCENT_DEFINE 274 | |
100 | #define PERCENT_DEFINES 275 | |
101 | #define PERCENT_ERROR_VERBOSE 276 | |
102 | #define PERCENT_EXPECT 277 | |
103 | #define PERCENT_FILE_PREFIX 278 | |
104 | #define PERCENT_GLR_PARSER 279 | |
105 | #define PERCENT_INITIAL_ACTION 280 | |
106 | #define PERCENT_LEX_PARAM 281 | |
107 | #define PERCENT_LOCATIONS 282 | |
108 | #define PERCENT_NAME_PREFIX 283 | |
66ef8b9d PE |
109 | #define PERCENT_NO_DEFAULT_PREC 284 |
110 | #define PERCENT_NO_LINES 285 | |
111 | #define PERCENT_NONDETERMINISTIC_PARSER 286 | |
112 | #define PERCENT_OUTPUT 287 | |
113 | #define PERCENT_PARSE_PARAM 288 | |
114 | #define PERCENT_PURE_PARSER 289 | |
115 | #define PERCENT_SKELETON 290 | |
116 | #define PERCENT_START 291 | |
117 | #define PERCENT_TOKEN_TABLE 292 | |
118 | #define PERCENT_VERBOSE 293 | |
119 | #define PERCENT_YACC 294 | |
120 | #define TYPE 295 | |
121 | #define EQUAL 296 | |
122 | #define SEMICOLON 297 | |
123 | #define PIPE 298 | |
124 | #define ID 299 | |
125 | #define ID_COLON 300 | |
126 | #define PERCENT_PERCENT 301 | |
127 | #define PROLOGUE 302 | |
128 | #define EPILOGUE 303 | |
129 | #define BRACED_CODE 304 | |
1921f1d7 AD |
130 | |
131 | ||
132 | ||
133 | ||
73521d9f | 134 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) |
cd3684cf | 135 | #line 80 "parse-gram.y" |
73521d9f | 136 | typedef union YYSTYPE { |
05d18c24 PE |
137 | symbol *symbol; |
138 | symbol_list *list; | |
e9955c83 | 139 | int integer; |
05d18c24 PE |
140 | char *chars; |
141 | assoc assoc; | |
142 | uniqstr uniqstr; | |
73521d9f | 143 | } YYSTYPE; |
cd3684cf | 144 | /* Line 1285 of yacc.c. */ |
66ef8b9d | 145 | #line 146 "y.tab.h" |
73521d9f PE |
146 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
147 | # define YYSTYPE_IS_DECLARED 1 | |
886b69d1 | 148 | # define YYSTYPE_IS_TRIVIAL 1 |
e9955c83 AD |
149 | #endif |
150 | ||
1921f1d7 AD |
151 | |
152 | ||
73521d9f PE |
153 | #if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED) |
154 | typedef struct YYLTYPE | |
e9955c83 AD |
155 | { |
156 | int first_line; | |
157 | int first_column; | |
158 | int last_line; | |
159 | int last_column; | |
73521d9f PE |
160 | } YYLTYPE; |
161 | # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ | |
162 | # define YYLTYPE_IS_DECLARED 1 | |
163 | # define YYLTYPE_IS_TRIVIAL 1 | |
e9955c83 AD |
164 | #endif |
165 | ||
166 | ||
167 | ||
1921f1d7 | 168 |