1 | /* A Bison parser, made by GNU Bison 2.3. */ |
---|
2 | |
---|
3 | /* Skeleton interface for Bison's Yacc-like parsers in C |
---|
4 | |
---|
5 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
---|
6 | Free Software Foundation, Inc. |
---|
7 | |
---|
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 2, or (at your option) |
---|
11 | any later version. |
---|
12 | |
---|
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. |
---|
17 | |
---|
18 | You should have received a copy of the GNU General Public License |
---|
19 | along with this program; if not, write to the Free Software |
---|
20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, |
---|
21 | Boston, MA 02110-1301, USA. */ |
---|
22 | |
---|
23 | /* As a special exception, you may create a larger work that contains |
---|
24 | part or all of the Bison parser skeleton and distribute that work |
---|
25 | under terms of your choice, so long as that work isn't itself a |
---|
26 | parser generator using the skeleton or a modified version thereof |
---|
27 | as a parser skeleton. Alternatively, if you modify or redistribute |
---|
28 | the parser skeleton itself, you may (at your option) remove this |
---|
29 | special exception, which will cause the skeleton and the resulting |
---|
30 | Bison output files to be licensed under the GNU General Public |
---|
31 | License without this special exception. |
---|
32 | |
---|
33 | This special exception was added by the Free Software Foundation in |
---|
34 | version 2.2 of Bison. */ |
---|
35 | |
---|
36 | /* Tokens. */ |
---|
37 | #ifndef YYTOKENTYPE |
---|
38 | # define YYTOKENTYPE |
---|
39 | /* Put the tokens into the symbol table, so that GDB and other debuggers |
---|
40 | know about them. */ |
---|
41 | enum yytokentype { |
---|
42 | DOTDOT = 258, |
---|
43 | EQUAL_EQUAL = 259, |
---|
44 | GE = 260, |
---|
45 | LE = 261, |
---|
46 | MINUSMINUS = 262, |
---|
47 | NOT = 263, |
---|
48 | NOTEQUAL = 264, |
---|
49 | PLUSPLUS = 265, |
---|
50 | COLONCOLON = 266, |
---|
51 | GRING_CMD = 267, |
---|
52 | INTMAT_CMD = 268, |
---|
53 | PROC_CMD = 269, |
---|
54 | RING_CMD = 270, |
---|
55 | BEGIN_RING = 271, |
---|
56 | IDEAL_CMD = 272, |
---|
57 | MAP_CMD = 273, |
---|
58 | MATRIX_CMD = 274, |
---|
59 | MODUL_CMD = 275, |
---|
60 | NUMBER_CMD = 276, |
---|
61 | POLY_CMD = 277, |
---|
62 | RESOLUTION_CMD = 278, |
---|
63 | VECTOR_CMD = 279, |
---|
64 | BETTI_CMD = 280, |
---|
65 | CHINREM_CMD = 281, |
---|
66 | COEFFS_CMD = 282, |
---|
67 | COEF_CMD = 283, |
---|
68 | CONTRACT_CMD = 284, |
---|
69 | DEGREE_CMD = 285, |
---|
70 | DEG_CMD = 286, |
---|
71 | DIFF_CMD = 287, |
---|
72 | DIM_CMD = 288, |
---|
73 | DIVISION_CMD = 289, |
---|
74 | ELIMINATION_CMD = 290, |
---|
75 | E_CMD = 291, |
---|
76 | FAREY_CMD = 292, |
---|
77 | FETCH_CMD = 293, |
---|
78 | FREEMODULE_CMD = 294, |
---|
79 | KEEPRING_CMD = 295, |
---|
80 | HILBERT_CMD = 296, |
---|
81 | HOMOG_CMD = 297, |
---|
82 | IMAP_CMD = 298, |
---|
83 | INDEPSET_CMD = 299, |
---|
84 | INTERRED_CMD = 300, |
---|
85 | INTERSECT_CMD = 301, |
---|
86 | JACOB_CMD = 302, |
---|
87 | JET_CMD = 303, |
---|
88 | KBASE_CMD = 304, |
---|
89 | KOSZUL_CMD = 305, |
---|
90 | LEADCOEF_CMD = 306, |
---|
91 | LEADEXP_CMD = 307, |
---|
92 | LEAD_CMD = 308, |
---|
93 | LEADMONOM_CMD = 309, |
---|
94 | LIFTSTD_CMD = 310, |
---|
95 | LIFT_CMD = 311, |
---|
96 | MAXID_CMD = 312, |
---|
97 | MINBASE_CMD = 313, |
---|
98 | MINOR_CMD = 314, |
---|
99 | MINRES_CMD = 315, |
---|
100 | MODULO_CMD = 316, |
---|
101 | MRES_CMD = 317, |
---|
102 | MULTIPLICITY_CMD = 318, |
---|
103 | ORD_CMD = 319, |
---|
104 | PAR_CMD = 320, |
---|
105 | PARDEG_CMD = 321, |
---|
106 | PREIMAGE_CMD = 322, |
---|
107 | QUOTIENT_CMD = 323, |
---|
108 | QHWEIGHT_CMD = 324, |
---|
109 | REDUCE_CMD = 325, |
---|
110 | REGULARITY_CMD = 326, |
---|
111 | RES_CMD = 327, |
---|
112 | SIMPLIFY_CMD = 328, |
---|
113 | SORTVEC_CMD = 329, |
---|
114 | SRES_CMD = 330, |
---|
115 | STD_CMD = 331, |
---|
116 | SUBST_CMD = 332, |
---|
117 | SYZYGY_CMD = 333, |
---|
118 | VAR_CMD = 334, |
---|
119 | VDIM_CMD = 335, |
---|
120 | WEDGE_CMD = 336, |
---|
121 | WEIGHT_CMD = 337, |
---|
122 | VALTVARS = 338, |
---|
123 | VMAXDEG = 339, |
---|
124 | VMAXMULT = 340, |
---|
125 | VNOETHER = 341, |
---|
126 | VMINPOLY = 342, |
---|
127 | END_RING = 343, |
---|
128 | CMD_1 = 344, |
---|
129 | CMD_2 = 345, |
---|
130 | CMD_3 = 346, |
---|
131 | CMD_12 = 347, |
---|
132 | CMD_13 = 348, |
---|
133 | CMD_23 = 349, |
---|
134 | CMD_123 = 350, |
---|
135 | CMD_M = 351, |
---|
136 | ROOT_DECL = 352, |
---|
137 | ROOT_DECL_LIST = 353, |
---|
138 | RING_DECL = 354, |
---|
139 | EXAMPLE_CMD = 355, |
---|
140 | EXPORT_CMD = 356, |
---|
141 | HELP_CMD = 357, |
---|
142 | KILL_CMD = 358, |
---|
143 | LIB_CMD = 359, |
---|
144 | LISTVAR_CMD = 360, |
---|
145 | SETRING_CMD = 361, |
---|
146 | TYPE_CMD = 362, |
---|
147 | STRINGTOK = 363, |
---|
148 | BLOCKTOK = 364, |
---|
149 | INT_CONST = 365, |
---|
150 | UNKNOWN_IDENT = 366, |
---|
151 | RINGVAR = 367, |
---|
152 | PROC_DEF = 368, |
---|
153 | BREAK_CMD = 369, |
---|
154 | CONTINUE_CMD = 370, |
---|
155 | ELSE_CMD = 371, |
---|
156 | EVAL = 372, |
---|
157 | QUOTE = 373, |
---|
158 | FOR_CMD = 374, |
---|
159 | IF_CMD = 375, |
---|
160 | SYS_BREAK = 376, |
---|
161 | WHILE_CMD = 377, |
---|
162 | RETURN = 378, |
---|
163 | PARAMETER = 379, |
---|
164 | SYSVAR = 380, |
---|
165 | UMINUS = 381 |
---|
166 | }; |
---|
167 | #endif |
---|
168 | /* Tokens. */ |
---|
169 | #define DOTDOT 258 |
---|
170 | #define EQUAL_EQUAL 259 |
---|
171 | #define GE 260 |
---|
172 | #define LE 261 |
---|
173 | #define MINUSMINUS 262 |
---|
174 | #define NOT 263 |
---|
175 | #define NOTEQUAL 264 |
---|
176 | #define PLUSPLUS 265 |
---|
177 | #define COLONCOLON 266 |
---|
178 | #define GRING_CMD 267 |
---|
179 | #define INTMAT_CMD 268 |
---|
180 | #define PROC_CMD 269 |
---|
181 | #define RING_CMD 270 |
---|
182 | #define BEGIN_RING 271 |
---|
183 | #define IDEAL_CMD 272 |
---|
184 | #define MAP_CMD 273 |
---|
185 | #define MATRIX_CMD 274 |
---|
186 | #define MODUL_CMD 275 |
---|
187 | #define NUMBER_CMD 276 |
---|
188 | #define POLY_CMD 277 |
---|
189 | #define RESOLUTION_CMD 278 |
---|
190 | #define VECTOR_CMD 279 |
---|
191 | #define BETTI_CMD 280 |
---|
192 | #define CHINREM_CMD 281 |
---|
193 | #define COEFFS_CMD 282 |
---|
194 | #define COEF_CMD 283 |
---|
195 | #define CONTRACT_CMD 284 |
---|
196 | #define DEGREE_CMD 285 |
---|
197 | #define DEG_CMD 286 |
---|
198 | #define DIFF_CMD 287 |
---|
199 | #define DIM_CMD 288 |
---|
200 | #define DIVISION_CMD 289 |
---|
201 | #define ELIMINATION_CMD 290 |
---|
202 | #define E_CMD 291 |
---|
203 | #define FAREY_CMD 292 |
---|
204 | #define FETCH_CMD 293 |
---|
205 | #define FREEMODULE_CMD 294 |
---|
206 | #define KEEPRING_CMD 295 |
---|
207 | #define HILBERT_CMD 296 |
---|
208 | #define HOMOG_CMD 297 |
---|
209 | #define IMAP_CMD 298 |
---|
210 | #define INDEPSET_CMD 299 |
---|
211 | #define INTERRED_CMD 300 |
---|
212 | #define INTERSECT_CMD 301 |
---|
213 | #define JACOB_CMD 302 |
---|
214 | #define JET_CMD 303 |
---|
215 | #define KBASE_CMD 304 |
---|
216 | #define KOSZUL_CMD 305 |
---|
217 | #define LEADCOEF_CMD 306 |
---|
218 | #define LEADEXP_CMD 307 |
---|
219 | #define LEAD_CMD 308 |
---|
220 | #define LEADMONOM_CMD 309 |
---|
221 | #define LIFTSTD_CMD 310 |
---|
222 | #define LIFT_CMD 311 |
---|
223 | #define MAXID_CMD 312 |
---|
224 | #define MINBASE_CMD 313 |
---|
225 | #define MINOR_CMD 314 |
---|
226 | #define MINRES_CMD 315 |
---|
227 | #define MODULO_CMD 316 |
---|
228 | #define MRES_CMD 317 |
---|
229 | #define MULTIPLICITY_CMD 318 |
---|
230 | #define ORD_CMD 319 |
---|
231 | #define PAR_CMD 320 |
---|
232 | #define PARDEG_CMD 321 |
---|
233 | #define PREIMAGE_CMD 322 |
---|
234 | #define QUOTIENT_CMD 323 |
---|
235 | #define QHWEIGHT_CMD 324 |
---|
236 | #define REDUCE_CMD 325 |
---|
237 | #define REGULARITY_CMD 326 |
---|
238 | #define RES_CMD 327 |
---|
239 | #define SIMPLIFY_CMD 328 |
---|
240 | #define SORTVEC_CMD 329 |
---|
241 | #define SRES_CMD 330 |
---|
242 | #define STD_CMD 331 |
---|
243 | #define SUBST_CMD 332 |
---|
244 | #define SYZYGY_CMD 333 |
---|
245 | #define VAR_CMD 334 |
---|
246 | #define VDIM_CMD 335 |
---|
247 | #define WEDGE_CMD 336 |
---|
248 | #define WEIGHT_CMD 337 |
---|
249 | #define VALTVARS 338 |
---|
250 | #define VMAXDEG 339 |
---|
251 | #define VMAXMULT 340 |
---|
252 | #define VNOETHER 341 |
---|
253 | #define VMINPOLY 342 |
---|
254 | #define END_RING 343 |
---|
255 | #define CMD_1 344 |
---|
256 | #define CMD_2 345 |
---|
257 | #define CMD_3 346 |
---|
258 | #define CMD_12 347 |
---|
259 | #define CMD_13 348 |
---|
260 | #define CMD_23 349 |
---|
261 | #define CMD_123 350 |
---|
262 | #define CMD_M 351 |
---|
263 | #define ROOT_DECL 352 |
---|
264 | #define ROOT_DECL_LIST 353 |
---|
265 | #define RING_DECL 354 |
---|
266 | #define EXAMPLE_CMD 355 |
---|
267 | #define EXPORT_CMD 356 |
---|
268 | #define HELP_CMD 357 |
---|
269 | #define KILL_CMD 358 |
---|
270 | #define LIB_CMD 359 |
---|
271 | #define LISTVAR_CMD 360 |
---|
272 | #define SETRING_CMD 361 |
---|
273 | #define TYPE_CMD 362 |
---|
274 | #define STRINGTOK 363 |
---|
275 | #define BLOCKTOK 364 |
---|
276 | #define INT_CONST 365 |
---|
277 | #define UNKNOWN_IDENT 366 |
---|
278 | #define RINGVAR 367 |
---|
279 | #define PROC_DEF 368 |
---|
280 | #define BREAK_CMD 369 |
---|
281 | #define CONTINUE_CMD 370 |
---|
282 | #define ELSE_CMD 371 |
---|
283 | #define EVAL 372 |
---|
284 | #define QUOTE 373 |
---|
285 | #define FOR_CMD 374 |
---|
286 | #define IF_CMD 375 |
---|
287 | #define SYS_BREAK 376 |
---|
288 | #define WHILE_CMD 377 |
---|
289 | #define RETURN 378 |
---|
290 | #define PARAMETER 379 |
---|
291 | #define SYSVAR 380 |
---|
292 | #define UMINUS 381 |
---|
293 | |
---|
294 | |
---|
295 | |
---|
296 | |
---|
297 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
---|
298 | typedef int YYSTYPE; |
---|
299 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
---|
300 | # define YYSTYPE_IS_DECLARED 1 |
---|
301 | # define YYSTYPE_IS_TRIVIAL 1 |
---|
302 | #endif |
---|
303 | |
---|
304 | |
---|
305 | |
---|