[bfa2deb] | 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, |
---|
[55b1687] | 65 | COEFFS_CMD = 281, |
---|
| 66 | COEF_CMD = 282, |
---|
| 67 | CONTRACT_CMD = 283, |
---|
| 68 | DEGREE_CMD = 284, |
---|
| 69 | DEG_CMD = 285, |
---|
| 70 | DIFF_CMD = 286, |
---|
| 71 | DIM_CMD = 287, |
---|
| 72 | DIVISION_CMD = 288, |
---|
| 73 | ELIMINATION_CMD = 289, |
---|
| 74 | E_CMD = 290, |
---|
| 75 | FAREY_CMD = 291, |
---|
| 76 | FETCH_CMD = 292, |
---|
| 77 | FREEMODULE_CMD = 293, |
---|
| 78 | KEEPRING_CMD = 294, |
---|
| 79 | HILBERT_CMD = 295, |
---|
| 80 | HOMOG_CMD = 296, |
---|
| 81 | IMAP_CMD = 297, |
---|
| 82 | INDEPSET_CMD = 298, |
---|
| 83 | INTERRED_CMD = 299, |
---|
| 84 | INTERSECT_CMD = 300, |
---|
| 85 | JACOB_CMD = 301, |
---|
| 86 | JET_CMD = 302, |
---|
| 87 | KBASE_CMD = 303, |
---|
| 88 | KOSZUL_CMD = 304, |
---|
| 89 | LEADCOEF_CMD = 305, |
---|
| 90 | LEADEXP_CMD = 306, |
---|
| 91 | LEAD_CMD = 307, |
---|
| 92 | LEADMONOM_CMD = 308, |
---|
| 93 | LIFTSTD_CMD = 309, |
---|
| 94 | LIFT_CMD = 310, |
---|
| 95 | MAXID_CMD = 311, |
---|
| 96 | MINBASE_CMD = 312, |
---|
| 97 | MINOR_CMD = 313, |
---|
| 98 | MINRES_CMD = 314, |
---|
| 99 | MODULO_CMD = 315, |
---|
| 100 | MONOM_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 |
---|
[bfa2deb] | 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 |
---|
[55b1687] | 192 | #define COEFFS_CMD 281 |
---|
| 193 | #define COEF_CMD 282 |
---|
| 194 | #define CONTRACT_CMD 283 |
---|
| 195 | #define DEGREE_CMD 284 |
---|
| 196 | #define DEG_CMD 285 |
---|
| 197 | #define DIFF_CMD 286 |
---|
| 198 | #define DIM_CMD 287 |
---|
| 199 | #define DIVISION_CMD 288 |
---|
| 200 | #define ELIMINATION_CMD 289 |
---|
| 201 | #define E_CMD 290 |
---|
| 202 | #define FAREY_CMD 291 |
---|
| 203 | #define FETCH_CMD 292 |
---|
| 204 | #define FREEMODULE_CMD 293 |
---|
| 205 | #define KEEPRING_CMD 294 |
---|
| 206 | #define HILBERT_CMD 295 |
---|
| 207 | #define HOMOG_CMD 296 |
---|
| 208 | #define IMAP_CMD 297 |
---|
| 209 | #define INDEPSET_CMD 298 |
---|
| 210 | #define INTERRED_CMD 299 |
---|
| 211 | #define INTERSECT_CMD 300 |
---|
| 212 | #define JACOB_CMD 301 |
---|
| 213 | #define JET_CMD 302 |
---|
| 214 | #define KBASE_CMD 303 |
---|
| 215 | #define KOSZUL_CMD 304 |
---|
| 216 | #define LEADCOEF_CMD 305 |
---|
| 217 | #define LEADEXP_CMD 306 |
---|
| 218 | #define LEAD_CMD 307 |
---|
| 219 | #define LEADMONOM_CMD 308 |
---|
| 220 | #define LIFTSTD_CMD 309 |
---|
| 221 | #define LIFT_CMD 310 |
---|
| 222 | #define MAXID_CMD 311 |
---|
| 223 | #define MINBASE_CMD 312 |
---|
| 224 | #define MINOR_CMD 313 |
---|
| 225 | #define MINRES_CMD 314 |
---|
| 226 | #define MODULO_CMD 315 |
---|
| 227 | #define MONOM_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 |
---|
[bfa2deb] | 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 | |
---|
[b98aea] | 305 | |
---|