![]() |
My Project
debian-1:4.1.1-p2+ds-4build4
|
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include "kernel/mod2.h"
#include "Singular/grammar.h"
#include "misc/mylimits.h"
#include "omalloc/omalloc.h"
#include "Singular/tok.h"
#include "misc/options.h"
#include "Singular/stype.h"
#include "Singular/fehelp.h"
#include "Singular/ipid.h"
#include "misc/intvec.h"
#include "kernel/oswrapper/feread.h"
#include "Singular/fevoices.h"
#include "polys/matpol.h"
#include "polys/monomials/ring.h"
#include "kernel/GBEngine/kstd1.h"
#include "Singular/subexpr.h"
#include "Singular/ipshell.h"
#include "Singular/ipconv.h"
#include "Singular/sdb.h"
#include "kernel/ideals.h"
#include "coeffs/numbers.h"
#include "kernel/polys.h"
#include "kernel/combinatorics/stairc.h"
#include "kernel/oswrapper/timer.h"
#include "Singular/cntrlc.h"
#include "polys/monomials/maps.h"
#include "kernel/GBEngine/syz.h"
#include "Singular/lists.h"
#include "Singular/libparse.h"
#include "coeffs/bigintmat.h"
Go to the source code of this file.
Macros | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "2.4.3" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 1 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YYLSP_NEEDED 0 |
#define | YYMAXDEPTH MAX_INT_VAL |
#define | TESTSETINT(a, i) |
#define | MYYERROR(a) { WerrorS(a); YYERROR; } |
#define | YYERROR_VERBOSE 0 |
#define | YYTOKEN_TABLE 0 |
#define | YYTOKENTYPE |
#define | YYSIZE_T size_t |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(msgid) msgid |
#define | YYUSE(e) ((void) (e)) |
#define | YYID(n) (n) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | _STDLIB_H 1 |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYFINAL 2 |
#define | YYLAST 2560 |
#define | YYNTOKENS 102 |
#define | YYNNTS 44 |
#define | YYNRULES 174 |
#define | YYNSTATES 397 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 340 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -361 |
#define | YYTABLE_NINF -154 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
#define | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YYLEX yylex (&yylval) |
#define | YYFPRINTF fprintf |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef unsigned char | yytype_uint8 |
typedef signed char | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef short int | yytype_int16 |
Enumerations | |
enum | yytokentype { DOTDOT = 258 , EQUAL_EQUAL = 259 , GE = 260 , LE = 261 , MINUSMINUS = 262 , NOT = 263 , NOTEQUAL = 264 , PLUSPLUS = 265 , COLONCOLON = 266 , ARROW = 267 , GRING_CMD = 268 , BIGINTMAT_CMD = 269 , INTMAT_CMD = 270 , PROC_CMD = 271 , RING_CMD = 272 , BEGIN_RING = 273 , IDEAL_CMD = 274 , MAP_CMD = 275 , MATRIX_CMD = 276 , MODUL_CMD = 277 , NUMBER_CMD = 278 , POLY_CMD = 279 , RESOLUTION_CMD = 280 , VECTOR_CMD = 281 , BETTI_CMD = 282 , E_CMD = 283 , FETCH_CMD = 284 , FREEMODULE_CMD = 285 , KEEPRING_CMD = 286 , IMAP_CMD = 287 , KOSZUL_CMD = 288 , MAXID_CMD = 289 , MONOM_CMD = 290 , PAR_CMD = 291 , PREIMAGE_CMD = 292 , VAR_CMD = 293 , VALTVARS = 294 , VMAXDEG = 295 , VMAXMULT = 296 , VNOETHER = 297 , VMINPOLY = 298 , END_RING = 299 , CMD_1 = 300 , CMD_2 = 301 , CMD_3 = 302 , CMD_12 = 303 , CMD_13 = 304 , CMD_23 = 305 , CMD_123 = 306 , CMD_M = 307 , ROOT_DECL = 308 , ROOT_DECL_LIST = 309 , RING_DECL = 310 , RING_DECL_LIST = 311 , EXAMPLE_CMD = 312 , EXPORT_CMD = 313 , HELP_CMD = 314 , KILL_CMD = 315 , LIB_CMD = 316 , LISTVAR_CMD = 317 , SETRING_CMD = 318 , TYPE_CMD = 319 , STRINGTOK = 320 , BLOCKTOK = 321 , INT_CONST = 322 , UNKNOWN_IDENT = 323 , RINGVAR = 324 , PROC_DEF = 325 , APPLY = 326 , ASSUME_CMD = 327 , BREAK_CMD = 328 , CONTINUE_CMD = 329 , ELSE_CMD = 330 , EVAL = 331 , QUOTE = 332 , FOR_CMD = 333 , IF_CMD = 334 , SYS_BREAK = 335 , WHILE_CMD = 336 , RETURN = 337 , PARAMETER = 338 , SYSVAR = 339 , UMINUS = 340 , DOTDOT = 258 , EQUAL_EQUAL = 259 , GE = 260 , LE = 261 , MINUSMINUS = 262 , NOT = 263 , NOTEQUAL = 264 , PLUSPLUS = 265 , COLONCOLON = 266 , ARROW = 267 , GRING_CMD = 268 , BIGINTMAT_CMD = 269 , INTMAT_CMD = 270 , PROC_CMD = 271 , RING_CMD = 272 , BEGIN_RING = 273 , IDEAL_CMD = 274 , MAP_CMD = 275 , MATRIX_CMD = 276 , MODUL_CMD = 277 , NUMBER_CMD = 278 , POLY_CMD = 279 , RESOLUTION_CMD = 280 , VECTOR_CMD = 281 , BETTI_CMD = 282 , E_CMD = 283 , FETCH_CMD = 284 , FREEMODULE_CMD = 285 , KEEPRING_CMD = 286 , IMAP_CMD = 287 , KOSZUL_CMD = 288 , MAXID_CMD = 289 , MONOM_CMD = 290 , PAR_CMD = 291 , PREIMAGE_CMD = 292 , VAR_CMD = 293 , VALTVARS = 294 , VMAXDEG = 295 , VMAXMULT = 296 , VNOETHER = 297 , VMINPOLY = 298 , END_RING = 299 , CMD_1 = 300 , CMD_2 = 301 , CMD_3 = 302 , CMD_12 = 303 , CMD_13 = 304 , CMD_23 = 305 , CMD_123 = 306 , CMD_M = 307 , ROOT_DECL = 308 , ROOT_DECL_LIST = 309 , RING_DECL = 310 , RING_DECL_LIST = 311 , EXAMPLE_CMD = 312 , EXPORT_CMD = 313 , HELP_CMD = 314 , KILL_CMD = 315 , LIB_CMD = 316 , LISTVAR_CMD = 317 , SETRING_CMD = 318 , TYPE_CMD = 319 , STRINGTOK = 320 , BLOCKTOK = 321 , INT_CONST = 322 , UNKNOWN_IDENT = 323 , RINGVAR = 324 , PROC_DEF = 325 , APPLY = 326 , ASSUME_CMD = 327 , BREAK_CMD = 328 , CONTINUE_CMD = 329 , ELSE_CMD = 330 , EVAL = 331 , QUOTE = 332 , FOR_CMD = 333 , IF_CMD = 334 , SYS_BREAK = 335 , WHILE_CMD = 336 , RETURN = 337 , PARAMETER = 338 , SYSVAR = 339 , UMINUS = 340 } |
Functions | |
void | yyerror (const char *fmt) |
static void | yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep) |
static void | yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep) |
static void | yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) |
static void | yy_reduce_print (YYSTYPE *yyvsp, int yyrule) |
static void | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) |
int | yyparse (void) |
Variables | |
int | yylineno |
FILE * | yyin |
const char * | currid |
BOOLEAN | yyInRingConstruction =FALSE |
BOOLEAN | expected_parms |
int | cmdtok |
int | inerror = 0 |
static const yytype_uint8 | yytranslate [] |
static const yytype_uint16 | yyprhs [] |
static const yytype_int16 | yyrhs [] |
static const yytype_uint16 | yyrline [] |
static const char *const | yytname [] |
static const yytype_uint8 | yyr1 [] |
static const yytype_uint8 | yyr2 [] |
static const yytype_uint8 | yydefact [] |
static const yytype_int16 | yydefgoto [] |
static const yytype_int16 | yypact [] |
static const yytype_int16 | yypgoto [] |
static const yytype_int16 | yytable [] |
static const yytype_int16 | yycheck [] |
static const yytype_uint8 | yystos [] |
int | yydebug |
#define _STDLIB_H 1 |
Definition at line 501 of file grammar.cc.
Definition at line 185 of file grammar.cc.
#define TESTSETINT | ( | a, | |
i | |||
) |
Definition at line 177 of file grammar.cc.
#define YY_ | ( | msgid | ) | msgid |
Definition at line 423 of file grammar.cc.
#define YY_LOCATION_PRINT | ( | File, | |
Loc | |||
) | ((void) 0) |
Definition at line 1635 of file grammar.cc.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 1795 of file grammar.cc.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 1757 of file grammar.cc.
#define YY_SYMBOL_PRINT | ( | Title, | |
Type, | |||
Value, | |||
Location | |||
) |
Definition at line 1662 of file grammar.cc.
#define YYABORT goto yyabortlab |
Definition at line 1555 of file grammar.cc.
#define YYACCEPT goto yyacceptlab |
Definition at line 1554 of file grammar.cc.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
Definition at line 1576 of file grammar.cc.
#define YYBISON 1 |
Definition at line 45 of file grammar.cc.
#define YYBISON_VERSION "2.4.3" |
Definition at line 48 of file grammar.cc.
#define yyclearin (yychar = YYEMPTY) |
Definition at line 1550 of file grammar.cc.
#define YYDPRINTF | ( | Args | ) |
Definition at line 1656 of file grammar.cc.
#define YYEMPTY (-2) |
Definition at line 1551 of file grammar.cc.
#define YYEOF 0 |
Definition at line 1552 of file grammar.cc.
#define YYERRCODE 256 |
Definition at line 1595 of file grammar.cc.
#define yyerrok (yyerrstatus = 0) |
Definition at line 1549 of file grammar.cc.
#define YYERROR goto yyerrorlab |
Definition at line 1556 of file grammar.cc.
#define YYERROR_VERBOSE 0 |
Definition at line 252 of file grammar.cc.
#define YYFAIL goto yyerrlab |
Definition at line 1566 of file grammar.cc.
#define YYFINAL 2 |
Definition at line 579 of file grammar.cc.
#define YYFPRINTF fprintf |
Definition at line 1653 of file grammar.cc.
#define YYFREE free |
Definition at line 512 of file grammar.cc.
#define YYID | ( | n | ) | (n) |
Definition at line 436 of file grammar.cc.
#define YYINITDEPTH 200 |
Definition at line 1814 of file grammar.cc.
#define YYLAST 2560 |
Definition at line 581 of file grammar.cc.
Definition at line 1645 of file grammar.cc.
#define YYLLOC_DEFAULT | ( | Current, | |
Rhs, | |||
N | |||
) |
Definition at line 1604 of file grammar.cc.
#define YYLSP_NEEDED 0 |
Definition at line 63 of file grammar.cc.
#define YYMALLOC malloc |
Definition at line 505 of file grammar.cc.
#define YYMAXDEPTH MAX_INT_VAL |
Definition at line 166 of file grammar.cc.
#define YYMAXUTOK 340 |
Definition at line 594 of file grammar.cc.
#define YYNNTS 44 |
Definition at line 586 of file grammar.cc.
#define YYNRULES 174 |
Definition at line 588 of file grammar.cc.
#define YYNSTATES 397 |
Definition at line 590 of file grammar.cc.
#define YYNTOKENS 102 |
Definition at line 584 of file grammar.cc.
#define YYPACT_NINF -361 |
Definition at line 921 of file grammar.cc.
#define YYPULL 1 |
Definition at line 60 of file grammar.cc.
#define YYPURE 1 |
Definition at line 54 of file grammar.cc.
#define YYPUSH 0 |
Definition at line 57 of file grammar.cc.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 1574 of file grammar.cc.
#define YYRHSLOC | ( | Rhs, | |
K | |||
) | ((Rhs)[K]) |
Definition at line 1602 of file grammar.cc.
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 413 of file grammar.cc.
#define YYSIZE_T size_t |
Definition at line 407 of file grammar.cc.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 51 of file grammar.cc.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 491 of file grammar.cc.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 494 of file grammar.cc.
#define YYSTACK_FREE YYFREE |
Definition at line 492 of file grammar.cc.
#define YYTABLE_NINF -154 |
Definition at line 980 of file grammar.cc.
#define YYTERROR 1 |
Definition at line 1594 of file grammar.cc.
#define YYTOKEN_TABLE 0 |
Definition at line 257 of file grammar.cc.
#define YYTOKENTYPE |
Definition at line 263 of file grammar.cc.
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 596 of file grammar.cc.
#define YYUNDEFTOK 2 |
Definition at line 593 of file grammar.cc.
#define YYUSE | ( | e | ) | ((void) (e)) |
Definition at line 429 of file grammar.cc.
typedef short int yytype_int16 |
Definition at line 396 of file grammar.cc.
typedef signed char yytype_int8 |
Definition at line 382 of file grammar.cc.
typedef unsigned short int yytype_uint16 |
Definition at line 390 of file grammar.cc.
typedef unsigned char yytype_uint8 |
Definition at line 375 of file grammar.cc.
enum yytokentype |
Definition at line 266 of file grammar.cc.
|
static |
Definition at line 1771 of file grammar.cc.
|
static |
Definition at line 1740 of file grammar.cc.
Definition at line 1714 of file grammar.cc.
|
static |
Definition at line 1682 of file grammar.cc.
Definition at line 2049 of file grammar.cc.
void yyerror | ( | const char * | fmt | ) |
Definition at line 187 of file grammar.cc.
int yyparse | ( | void | ) |
Definition at line 2109 of file grammar.cc.
int cmdtok |
Definition at line 174 of file grammar.cc.
const char* currid |
Definition at line 171 of file grammar.cc.
BOOLEAN expected_parms |
Definition at line 173 of file grammar.cc.
int inerror = 0 |
Definition at line 175 of file grammar.cc.
|
static |
Definition at line 1242 of file grammar.cc.
int yydebug |
Definition at line 1803 of file grammar.cc.
|
static |
Definition at line 865 of file grammar.cc.
|
static |
Definition at line 910 of file grammar.cc.
|
extern |
Definition at line 283 of file libparse.cc.
Definition at line 172 of file grammar.cc.
|
static |
Definition at line 922 of file grammar.cc.
|
static |
Definition at line 967 of file grammar.cc.
|
static |
Definition at line 642 of file grammar.cc.
|
static |
Definition at line 817 of file grammar.cc.
|
static |
Definition at line 840 of file grammar.cc.
|
static |
Definition at line 665 of file grammar.cc.
|
static |
Definition at line 741 of file grammar.cc.
|
static |
Definition at line 1505 of file grammar.cc.
|
static |
Definition at line 981 of file grammar.cc.
Definition at line 767 of file grammar.cc.
|
static |
Definition at line 600 of file grammar.cc.