source: git/Singular/grammar.h @ 8ed989

spielwiese
Last change on this file since 8ed989 was 4b3ef4b, checked in by Hans Schönemann <hannes@…>, 14 years ago
new command: monom git-svn-id: file:///usr/local/Singular/svn/trunk@12516 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 7.3 KB
Line 
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     MONOM_CMD = 317,
102     MRES_CMD = 318,
103     MULTIPLICITY_CMD = 319,
104     ORD_CMD = 320,
105     PAR_CMD = 321,
106     PARDEG_CMD = 322,
107     PREIMAGE_CMD = 323,
108     QUOTIENT_CMD = 324,
109     QHWEIGHT_CMD = 325,
110     REDUCE_CMD = 326,
111     REGULARITY_CMD = 327,
112     RES_CMD = 328,
113     SIMPLIFY_CMD = 329,
114     SORTVEC_CMD = 330,
115     SRES_CMD = 331,
116     STD_CMD = 332,
117     SUBST_CMD = 333,
118     SYZYGY_CMD = 334,
119     VAR_CMD = 335,
120     VDIM_CMD = 336,
121     WEDGE_CMD = 337,
122     WEIGHT_CMD = 338,
123     VALTVARS = 339,
124     VMAXDEG = 340,
125     VMAXMULT = 341,
126     VNOETHER = 342,
127     VMINPOLY = 343,
128     END_RING = 344,
129     CMD_1 = 345,
130     CMD_2 = 346,
131     CMD_3 = 347,
132     CMD_12 = 348,
133     CMD_13 = 349,
134     CMD_23 = 350,
135     CMD_123 = 351,
136     CMD_M = 352,
137     ROOT_DECL = 353,
138     ROOT_DECL_LIST = 354,
139     RING_DECL = 355,
140     EXAMPLE_CMD = 356,
141     EXPORT_CMD = 357,
142     HELP_CMD = 358,
143     KILL_CMD = 359,
144     LIB_CMD = 360,
145     LISTVAR_CMD = 361,
146     SETRING_CMD = 362,
147     TYPE_CMD = 363,
148     STRINGTOK = 364,
149     BLOCKTOK = 365,
150     INT_CONST = 366,
151     UNKNOWN_IDENT = 367,
152     RINGVAR = 368,
153     PROC_DEF = 369,
154     BREAK_CMD = 370,
155     CONTINUE_CMD = 371,
156     ELSE_CMD = 372,
157     EVAL = 373,
158     QUOTE = 374,
159     FOR_CMD = 375,
160     IF_CMD = 376,
161     SYS_BREAK = 377,
162     WHILE_CMD = 378,
163     RETURN = 379,
164     PARAMETER = 380,
165     SYSVAR = 381,
166     UMINUS = 382
167   };
168#endif
169/* Tokens.  */
170#define DOTDOT 258
171#define EQUAL_EQUAL 259
172#define GE 260
173#define LE 261
174#define MINUSMINUS 262
175#define NOT 263
176#define NOTEQUAL 264
177#define PLUSPLUS 265
178#define COLONCOLON 266
179#define GRING_CMD 267
180#define INTMAT_CMD 268
181#define PROC_CMD 269
182#define RING_CMD 270
183#define BEGIN_RING 271
184#define IDEAL_CMD 272
185#define MAP_CMD 273
186#define MATRIX_CMD 274
187#define MODUL_CMD 275
188#define NUMBER_CMD 276
189#define POLY_CMD 277
190#define RESOLUTION_CMD 278
191#define VECTOR_CMD 279
192#define BETTI_CMD 280
193#define CHINREM_CMD 281
194#define COEFFS_CMD 282
195#define COEF_CMD 283
196#define CONTRACT_CMD 284
197#define DEGREE_CMD 285
198#define DEG_CMD 286
199#define DIFF_CMD 287
200#define DIM_CMD 288
201#define DIVISION_CMD 289
202#define ELIMINATION_CMD 290
203#define E_CMD 291
204#define FAREY_CMD 292
205#define FETCH_CMD 293
206#define FREEMODULE_CMD 294
207#define KEEPRING_CMD 295
208#define HILBERT_CMD 296
209#define HOMOG_CMD 297
210#define IMAP_CMD 298
211#define INDEPSET_CMD 299
212#define INTERRED_CMD 300
213#define INTERSECT_CMD 301
214#define JACOB_CMD 302
215#define JET_CMD 303
216#define KBASE_CMD 304
217#define KOSZUL_CMD 305
218#define LEADCOEF_CMD 306
219#define LEADEXP_CMD 307
220#define LEAD_CMD 308
221#define LEADMONOM_CMD 309
222#define LIFTSTD_CMD 310
223#define LIFT_CMD 311
224#define MAXID_CMD 312
225#define MINBASE_CMD 313
226#define MINOR_CMD 314
227#define MINRES_CMD 315
228#define MODULO_CMD 316
229#define MONOM_CMD 317
230#define MRES_CMD 318
231#define MULTIPLICITY_CMD 319
232#define ORD_CMD 320
233#define PAR_CMD 321
234#define PARDEG_CMD 322
235#define PREIMAGE_CMD 323
236#define QUOTIENT_CMD 324
237#define QHWEIGHT_CMD 325
238#define REDUCE_CMD 326
239#define REGULARITY_CMD 327
240#define RES_CMD 328
241#define SIMPLIFY_CMD 329
242#define SORTVEC_CMD 330
243#define SRES_CMD 331
244#define STD_CMD 332
245#define SUBST_CMD 333
246#define SYZYGY_CMD 334
247#define VAR_CMD 335
248#define VDIM_CMD 336
249#define WEDGE_CMD 337
250#define WEIGHT_CMD 338
251#define VALTVARS 339
252#define VMAXDEG 340
253#define VMAXMULT 341
254#define VNOETHER 342
255#define VMINPOLY 343
256#define END_RING 344
257#define CMD_1 345
258#define CMD_2 346
259#define CMD_3 347
260#define CMD_12 348
261#define CMD_13 349
262#define CMD_23 350
263#define CMD_123 351
264#define CMD_M 352
265#define ROOT_DECL 353
266#define ROOT_DECL_LIST 354
267#define RING_DECL 355
268#define EXAMPLE_CMD 356
269#define EXPORT_CMD 357
270#define HELP_CMD 358
271#define KILL_CMD 359
272#define LIB_CMD 360
273#define LISTVAR_CMD 361
274#define SETRING_CMD 362
275#define TYPE_CMD 363
276#define STRINGTOK 364
277#define BLOCKTOK 365
278#define INT_CONST 366
279#define UNKNOWN_IDENT 367
280#define RINGVAR 368
281#define PROC_DEF 369
282#define BREAK_CMD 370
283#define CONTINUE_CMD 371
284#define ELSE_CMD 372
285#define EVAL 373
286#define QUOTE 374
287#define FOR_CMD 375
288#define IF_CMD 376
289#define SYS_BREAK 377
290#define WHILE_CMD 378
291#define RETURN 379
292#define PARAMETER 380
293#define SYSVAR 381
294#define UMINUS 382
295
296
297
298
299#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
300typedef int YYSTYPE;
301# define yystype YYSTYPE /* obsolescent; will be withdrawn */
302# define YYSTYPE_IS_DECLARED 1
303# define YYSTYPE_IS_TRIVIAL 1
304#endif
305
306
307
Note: See TracBrowser for help on using the repository browser.