1 | /* A Bison parser, made by GNU Bison 1.875d. */ |
---|
2 | |
---|
3 | /* Skeleton parser for Yacc-like parsing with Bison, |
---|
4 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 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 | DOTDOT = 258, |
---|
33 | EQUAL_EQUAL = 259, |
---|
34 | GE = 260, |
---|
35 | LE = 261, |
---|
36 | MINUSMINUS = 262, |
---|
37 | NOT = 263, |
---|
38 | NOTEQUAL = 264, |
---|
39 | PLUSPLUS = 265, |
---|
40 | COLONCOLON = 266, |
---|
41 | GRING_CMD = 267, |
---|
42 | BIGINTMAT_CMD = 268, |
---|
43 | INTMAT_CMD = 269, |
---|
44 | PROC_CMD = 270, |
---|
45 | RING_CMD = 271, |
---|
46 | BEGIN_RING = 272, |
---|
47 | IDEAL_CMD = 273, |
---|
48 | MAP_CMD = 274, |
---|
49 | MATRIX_CMD = 275, |
---|
50 | MODUL_CMD = 276, |
---|
51 | NUMBER_CMD = 277, |
---|
52 | POLY_CMD = 278, |
---|
53 | RESOLUTION_CMD = 279, |
---|
54 | VECTOR_CMD = 280, |
---|
55 | BETTI_CMD = 281, |
---|
56 | COEFFS_CMD = 282, |
---|
57 | COEF_CMD = 283, |
---|
58 | CONTRACT_CMD = 284, |
---|
59 | DEGREE_CMD = 285, |
---|
60 | DEG_CMD = 286, |
---|
61 | DIFF_CMD = 287, |
---|
62 | DIM_CMD = 288, |
---|
63 | DIVISION_CMD = 289, |
---|
64 | ELIMINATION_CMD = 290, |
---|
65 | E_CMD = 291, |
---|
66 | FAREY_CMD = 292, |
---|
67 | FETCH_CMD = 293, |
---|
68 | FREEMODULE_CMD = 294, |
---|
69 | KEEPRING_CMD = 295, |
---|
70 | HILBERT_CMD = 296, |
---|
71 | HOMOG_CMD = 297, |
---|
72 | IMAP_CMD = 298, |
---|
73 | INDEPSET_CMD = 299, |
---|
74 | INTERRED_CMD = 300, |
---|
75 | INTERSECT_CMD = 301, |
---|
76 | JACOB_CMD = 302, |
---|
77 | JET_CMD = 303, |
---|
78 | KBASE_CMD = 304, |
---|
79 | KOSZUL_CMD = 305, |
---|
80 | LEADCOEF_CMD = 306, |
---|
81 | LEADEXP_CMD = 307, |
---|
82 | LEAD_CMD = 308, |
---|
83 | LEADMONOM_CMD = 309, |
---|
84 | LIFTSTD_CMD = 310, |
---|
85 | LIFT_CMD = 311, |
---|
86 | MAXID_CMD = 312, |
---|
87 | MINBASE_CMD = 313, |
---|
88 | MINOR_CMD = 314, |
---|
89 | MINRES_CMD = 315, |
---|
90 | MODULO_CMD = 316, |
---|
91 | MONOM_CMD = 317, |
---|
92 | MRES_CMD = 318, |
---|
93 | MULTIPLICITY_CMD = 319, |
---|
94 | ORD_CMD = 320, |
---|
95 | PAR_CMD = 321, |
---|
96 | PARDEG_CMD = 322, |
---|
97 | PREIMAGE_CMD = 323, |
---|
98 | QUOTIENT_CMD = 324, |
---|
99 | QHWEIGHT_CMD = 325, |
---|
100 | REDUCE_CMD = 326, |
---|
101 | REGULARITY_CMD = 327, |
---|
102 | RES_CMD = 328, |
---|
103 | SBA_CMD = 329, |
---|
104 | SIMPLIFY_CMD = 330, |
---|
105 | SORTVEC_CMD = 331, |
---|
106 | SRES_CMD = 332, |
---|
107 | STD_CMD = 333, |
---|
108 | SUBST_CMD = 334, |
---|
109 | SYZYGY_CMD = 335, |
---|
110 | VAR_CMD = 336, |
---|
111 | VDIM_CMD = 337, |
---|
112 | WEDGE_CMD = 338, |
---|
113 | WEIGHT_CMD = 339, |
---|
114 | VALTVARS = 340, |
---|
115 | VMAXDEG = 341, |
---|
116 | VMAXMULT = 342, |
---|
117 | VNOETHER = 343, |
---|
118 | VMINPOLY = 344, |
---|
119 | END_RING = 345, |
---|
120 | CMD_1 = 346, |
---|
121 | CMD_2 = 347, |
---|
122 | CMD_3 = 348, |
---|
123 | CMD_12 = 349, |
---|
124 | CMD_13 = 350, |
---|
125 | CMD_23 = 351, |
---|
126 | CMD_123 = 352, |
---|
127 | CMD_M = 353, |
---|
128 | ROOT_DECL = 354, |
---|
129 | ROOT_DECL_LIST = 355, |
---|
130 | RING_DECL = 356, |
---|
131 | RING_DECL_LIST = 357, |
---|
132 | EXAMPLE_CMD = 358, |
---|
133 | EXPORT_CMD = 359, |
---|
134 | HELP_CMD = 360, |
---|
135 | KILL_CMD = 361, |
---|
136 | LIB_CMD = 362, |
---|
137 | LISTVAR_CMD = 363, |
---|
138 | SETRING_CMD = 364, |
---|
139 | TYPE_CMD = 365, |
---|
140 | STRINGTOK = 366, |
---|
141 | BLOCKTOK = 367, |
---|
142 | INT_CONST = 368, |
---|
143 | UNKNOWN_IDENT = 369, |
---|
144 | RINGVAR = 370, |
---|
145 | PROC_DEF = 371, |
---|
146 | BREAK_CMD = 372, |
---|
147 | CONTINUE_CMD = 373, |
---|
148 | ELSE_CMD = 374, |
---|
149 | EVAL = 375, |
---|
150 | QUOTE = 376, |
---|
151 | FOR_CMD = 377, |
---|
152 | IF_CMD = 378, |
---|
153 | SYS_BREAK = 379, |
---|
154 | WHILE_CMD = 380, |
---|
155 | RETURN = 381, |
---|
156 | PARAMETER = 382, |
---|
157 | SYSVAR = 383, |
---|
158 | UMINUS = 384 |
---|
159 | }; |
---|
160 | #endif |
---|
161 | #define DOTDOT 258 |
---|
162 | #define EQUAL_EQUAL 259 |
---|
163 | #define GE 260 |
---|
164 | #define LE 261 |
---|
165 | #define MINUSMINUS 262 |
---|
166 | #define NOT 263 |
---|
167 | #define NOTEQUAL 264 |
---|
168 | #define PLUSPLUS 265 |
---|
169 | #define COLONCOLON 266 |
---|
170 | #define GRING_CMD 267 |
---|
171 | #define BIGINTMAT_CMD 268 |
---|
172 | #define INTMAT_CMD 269 |
---|
173 | #define PROC_CMD 270 |
---|
174 | #define RING_CMD 271 |
---|
175 | #define BEGIN_RING 272 |
---|
176 | #define IDEAL_CMD 273 |
---|
177 | #define MAP_CMD 274 |
---|
178 | #define MATRIX_CMD 275 |
---|
179 | #define MODUL_CMD 276 |
---|
180 | #define NUMBER_CMD 277 |
---|
181 | #define POLY_CMD 278 |
---|
182 | #define RESOLUTION_CMD 279 |
---|
183 | #define VECTOR_CMD 280 |
---|
184 | #define BETTI_CMD 281 |
---|
185 | #define COEFFS_CMD 282 |
---|
186 | #define COEF_CMD 283 |
---|
187 | #define CONTRACT_CMD 284 |
---|
188 | #define DEGREE_CMD 285 |
---|
189 | #define DEG_CMD 286 |
---|
190 | #define DIFF_CMD 287 |
---|
191 | #define DIM_CMD 288 |
---|
192 | #define DIVISION_CMD 289 |
---|
193 | #define ELIMINATION_CMD 290 |
---|
194 | #define E_CMD 291 |
---|
195 | #define FAREY_CMD 292 |
---|
196 | #define FETCH_CMD 293 |
---|
197 | #define FREEMODULE_CMD 294 |
---|
198 | #define KEEPRING_CMD 295 |
---|
199 | #define HILBERT_CMD 296 |
---|
200 | #define HOMOG_CMD 297 |
---|
201 | #define IMAP_CMD 298 |
---|
202 | #define INDEPSET_CMD 299 |
---|
203 | #define INTERRED_CMD 300 |
---|
204 | #define INTERSECT_CMD 301 |
---|
205 | #define JACOB_CMD 302 |
---|
206 | #define JET_CMD 303 |
---|
207 | #define KBASE_CMD 304 |
---|
208 | #define KOSZUL_CMD 305 |
---|
209 | #define LEADCOEF_CMD 306 |
---|
210 | #define LEADEXP_CMD 307 |
---|
211 | #define LEAD_CMD 308 |
---|
212 | #define LEADMONOM_CMD 309 |
---|
213 | #define LIFTSTD_CMD 310 |
---|
214 | #define LIFT_CMD 311 |
---|
215 | #define MAXID_CMD 312 |
---|
216 | #define MINBASE_CMD 313 |
---|
217 | #define MINOR_CMD 314 |
---|
218 | #define MINRES_CMD 315 |
---|
219 | #define MODULO_CMD 316 |
---|
220 | #define MONOM_CMD 317 |
---|
221 | #define MRES_CMD 318 |
---|
222 | #define MULTIPLICITY_CMD 319 |
---|
223 | #define ORD_CMD 320 |
---|
224 | #define PAR_CMD 321 |
---|
225 | #define PARDEG_CMD 322 |
---|
226 | #define PREIMAGE_CMD 323 |
---|
227 | #define QUOTIENT_CMD 324 |
---|
228 | #define QHWEIGHT_CMD 325 |
---|
229 | #define REDUCE_CMD 326 |
---|
230 | #define REGULARITY_CMD 327 |
---|
231 | #define RES_CMD 328 |
---|
232 | #define SBA_CMD 329 |
---|
233 | #define SIMPLIFY_CMD 330 |
---|
234 | #define SORTVEC_CMD 331 |
---|
235 | #define SRES_CMD 332 |
---|
236 | #define STD_CMD 333 |
---|
237 | #define SUBST_CMD 334 |
---|
238 | #define SYZYGY_CMD 335 |
---|
239 | #define VAR_CMD 336 |
---|
240 | #define VDIM_CMD 337 |
---|
241 | #define WEDGE_CMD 338 |
---|
242 | #define WEIGHT_CMD 339 |
---|
243 | #define VALTVARS 340 |
---|
244 | #define VMAXDEG 341 |
---|
245 | #define VMAXMULT 342 |
---|
246 | #define VNOETHER 343 |
---|
247 | #define VMINPOLY 344 |
---|
248 | #define END_RING 345 |
---|
249 | #define CMD_1 346 |
---|
250 | #define CMD_2 347 |
---|
251 | #define CMD_3 348 |
---|
252 | #define CMD_12 349 |
---|
253 | #define CMD_13 350 |
---|
254 | #define CMD_23 351 |
---|
255 | #define CMD_123 352 |
---|
256 | #define CMD_M 353 |
---|
257 | #define ROOT_DECL 354 |
---|
258 | #define ROOT_DECL_LIST 355 |
---|
259 | #define RING_DECL 356 |
---|
260 | #define RING_DECL_LIST 357 |
---|
261 | #define EXAMPLE_CMD 358 |
---|
262 | #define EXPORT_CMD 359 |
---|
263 | #define HELP_CMD 360 |
---|
264 | #define KILL_CMD 361 |
---|
265 | #define LIB_CMD 362 |
---|
266 | #define LISTVAR_CMD 363 |
---|
267 | #define SETRING_CMD 364 |
---|
268 | #define TYPE_CMD 365 |
---|
269 | #define STRINGTOK 366 |
---|
270 | #define BLOCKTOK 367 |
---|
271 | #define INT_CONST 368 |
---|
272 | #define UNKNOWN_IDENT 369 |
---|
273 | #define RINGVAR 370 |
---|
274 | #define PROC_DEF 371 |
---|
275 | #define BREAK_CMD 372 |
---|
276 | #define CONTINUE_CMD 373 |
---|
277 | #define ELSE_CMD 374 |
---|
278 | #define EVAL 375 |
---|
279 | #define QUOTE 376 |
---|
280 | #define FOR_CMD 377 |
---|
281 | #define IF_CMD 378 |
---|
282 | #define SYS_BREAK 379 |
---|
283 | #define WHILE_CMD 380 |
---|
284 | #define RETURN 381 |
---|
285 | #define PARAMETER 382 |
---|
286 | #define SYSVAR 383 |
---|
287 | #define UMINUS 384 |
---|
288 | |
---|
289 | |
---|
290 | |
---|
291 | |
---|
292 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) |
---|
293 | typedef int YYSTYPE; |
---|
294 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
---|
295 | # define YYSTYPE_IS_DECLARED 1 |
---|
296 | # define YYSTYPE_IS_TRIVIAL 1 |
---|
297 | #endif |
---|
298 | |
---|
299 | |
---|
300 | |
---|
301 | |
---|
302 | |
---|