📄 yacc.c
字号:
498, 107, 186, 498, 119, 122,-32768, 8,-32768,-32768,
-32768, 191,-32768,-32768,-32768,-32768, 145, 149,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 498,
274, 498, 357, 498, 189, 498, 141, 274, 164, 165,
-32768,-32768,-32768,-32768,-32768,-32768,-32768, 60,-32768, 498,
61, 161, 79, 274,-32768,-32768,-32768, 274, 498, 183,
274, 498, 274,-32768, 219, 184, 498,-32768, 80,-32768,
274, 498, 179, 187,-32768, 180, 274,-32768, 274,-32768,
-32768, 259,-32768
};
static const short yypgoto[] = {-32768,
240,-32768,-32768,-32768, 0, 2,-32768, -16, 232,-32768,
-32768,-32768,-32768, 146, -59,-32768, 216, 199, 147, 3,
-32768, 212,-32768, -4, -37,-32768,-32768, 106, -75,-32768,
310,-32768, 211,-32768,-32768, 49,-32768,-32768,-32768,-32768,
-83, -104,-32768,-32768, -64,-32768, 26, 27, -36, 28,
138, 153, 140, 136, 151,-32768, 74, -43,-32768
};
#define YYLAST 727
static const short yytable[] = { 24,
131, 25, 55, 49, 120, 169, 127, 36, 36, 45,
36, 50, 187, -33, 106, 125, 126, 115, 250, 24,
43, 25, 38, 122, 133, 134, 187, 135, 136, 151,
60, 249, 61, 152, 54, 58, 170, 70, 106, 107,
53, 33, 47, 110, 153, 154, 67, -5, 56, 63,
116, 57, 58, 192, 193, 137, 124, 138, 118, 182,
159, 160, 161, 162, 166, 63, 165, 129, 168, 73,
167, 74, 75, 76, 179, 77, 78, 180, 37, 38,
39, 39, 38, 39, 68, 69, 214, 195, 196, 197,
198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
198, 198, 198, 198, 198, 174, 194, 129, 245, 171,
34, 48, 173, 79, 80, 81, 176, 63, 120, 260,
175, 246, 203, 204, 205, 206, 187, 187, 177, 188,
248, 185, 186, 187, 187, 55, 278, 281, 82, 189,
106, 83, 84, 247, 121, 69, 190, 85, 86, 87,
88, 89, 187, 187, 243, 283, 294, 155, 156, 110,
157, 158, 244, 163, 164, 280, 183, 184, 268, 251,
271, 252, 273, 253, 286, 242, 254, 257, 256, 63,
199, 200, 293, 201, 202, 198, 258, 296, 259, 261,
207, 208, 262, 215, 1, 74, 75, 76, 289, 77,
78, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 12, 13, 14, 15, 16, 17, 18, 187, 265,
274, 19, 216, 272, 217, 218, 219, 220, 221, 222,
223, 224, 225, 226, 276, 277, 282, 79, 80, 81,
139, 140, 141, 142, 143, 144, 145, 146, 147, 148,
149, 291, 269, 287, 292, 297, 299, 298, 303, 35,
46, 178, 107, 263, 66, 83, 84, 123, 71, 108,
181, 85, 86, 87, 88, 89, 215, 1, 74, 75,
76, 240, 77, 78, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
18, 270, 209, 212, 19, 216, 211, 217, 218, 219,
220, 221, 222, 223, 224, 225, 226, 1, 210, 213,
79, 80, 81, 266, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 0, 0, 0,
0, 0, 0, 0, 0, 107, 0, 0, 83, 84,
0, 0, 0, 0, 85, 86, 87, 88, 89, 73,
1, 74, 75, 76, 0, 77, 78, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 0, 0, 0, 19, 0, 73,
109, 74, 75, 76, 0, 77, 78, 0, 0, 0,
0, 0, 0, 79, 80, 81, 73, 1, 74, 75,
76, 0, 77, 78, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 0, 0, 0,
0, 83, 84, 79, 80, 81, 0, 85, 86, 87,
88, 89, 0, 0, 0, 0, 0, 0, 0, 0,
79, 80, 81, 73, 0, 74, 75, 76, 0, 77,
78, 83, 84, 0, 0, 114, 0, 85, 86, 87,
88, 89, 0, 0, 0, 0, 0, 0, 83, 84,
0, 0, 0, 0, 85, 86, 87, 88, 89, 0,
0, 0, 0, 0, 0, 0, 0, 79, 80, 81,
73, 0, 74, 75, 76, 1, 77, 78, 0, 0,
0, 0, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11, 12, 13, 14, 83, 84, 191, 255, 0,
239, 85, 86, 87, 88, 89, 0, 0, 0, 0,
1, 264, 0, 0, 79, 80, 81, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
267, 0, 0, 0, 0, 0, 0, 275, 0, 0,
0, 0, 83, 84, 0, 0, 0, 0, 85, 86,
87, 88, 89, 284, 0, 0, 0, 285, 0, 0,
288, 0, 290, 0, 0, 0, 0, 0, 0, 0,
295, 0, 1, 0, 0, 0, 300, 0, 301, 2,
3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
13, 14, 15, 16, 17, 18, 1, 0, 0, 19,
0, 0, 0, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
0, 0, 0, 19, 0, 0, 0, 0, 0, 0,
0, 302, 0, 0, 0, 1, 0, 0, 0, 0,
0, 119, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11, 12, 13, 14, 15, 16, 17, 18, 1,
0, 0, 19, 0, 0, 241, 2, 3, 4, 5,
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 0, 0, 0, 19, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11
};
static const short yycheck[] = { 0,
84, 0, 40, 72, 64, 59, 82, 3, 3, 26,
3, 3, 74, 72, 58, 80, 81, 61, 80, 20,
25, 20, 75, 67, 45, 46, 74, 48, 49, 94,
76, 79, 78, 75, 39, 60, 90, 77, 82, 72,
38, 3, 3, 60, 86, 87, 60, 72, 71, 48,
72, 74, 60, 137, 138, 76, 76, 78, 63, 124,
54, 55, 56, 57, 88, 64, 81, 84, 58, 3,
89, 5, 6, 7, 71, 9, 10, 74, 71, 75,
76, 76, 75, 76, 73, 74, 170, 152, 153, 154,
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
165, 166, 167, 168, 169, 110, 150, 124, 184, 73,
72, 72, 110, 47, 48, 49, 74, 116, 178, 224,
77, 186, 159, 160, 161, 162, 74, 74, 79, 77,
77, 129, 77, 74, 74, 173, 77, 77, 72, 3,
184, 75, 76, 187, 73, 74, 3, 81, 82, 83,
84, 85, 74, 74, 77, 77, 77, 82, 83, 176,
50, 51, 77, 52, 53, 270, 73, 74, 252, 80,
254, 76, 256, 76, 279, 180, 76, 221, 76, 178,
155, 156, 287, 157, 158, 250, 80, 292, 3, 71,
163, 164, 71, 3, 4, 5, 6, 7, 282, 9,
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 74, 71,
80, 31, 32, 35, 34, 35, 36, 37, 38, 39,
40, 41, 42, 43, 71, 71, 76, 47, 48, 49,
60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
70, 33, 253, 71, 71, 77, 77, 71, 0, 20,
29, 116, 72, 73, 49, 75, 76, 69, 57, 59,
124, 81, 82, 83, 84, 85, 3, 4, 5, 6,
7, 176, 9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
27, 253, 165, 168, 31, 32, 167, 34, 35, 36,
37, 38, 39, 40, 41, 42, 43, 4, 166, 169,
47, 48, 49, 250, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, -1, -1, -1,
-1, -1, -1, -1, -1, 72, -1, -1, 75, 76,
-1, -1, -1, -1, 81, 82, 83, 84, 85, 3,
4, 5, 6, 7, -1, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
24, 25, 26, 27, -1, -1, -1, 31, -1, 3,
77, 5, 6, 7, -1, 9, 10, -1, -1, -1,
-1, -1, -1, 47, 48, 49, 3, 4, 5, 6,
7, -1, 9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, -1, -1, -1,
-1, 75, 76, 47, 48, 49, -1, 81, 82, 83,
84, 85, -1, -1, -1, -1, -1, -1, -1, -1,
47, 48, 49, 3, -1, 5, 6, 7, -1, 9,
10, 75, 76, -1, -1, 79, -1, 81, 82, 83,
84, 85, -1, -1, -1, -1, -1, -1, 75, 76,
-1, -1, -1, -1, 81, 82, 83, 84, 85, -1,
-1, -1, -1, -1, -1, -1, -1, 47, 48, 49,
3, -1, 5, 6, 7, 4, 9, 10, -1, -1,
-1, -1, 11, 12, 13, 14, 15, 16, 17, 18,
19, 20, 21, 22, 23, 75, 76, 77, 219, -1,
29, 81, 82, 83, 84, 85, -1, -1, -1, -1,
4, 232, -1, -1, 47, 48, 49, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
251, -1, -1, -1, -1, -1, -1, 258, -1, -1,
-1, -1, 75, 76, -1, -1, -1, -1, 81, 82,
83, 84, 85, 274, -1, -1, -1, 278, -1, -1,
281, -1, 283, -1, -1, -1, -1, -1, -1, -1,
291, -1, 4, -1, -1, -1, 297, -1, 299, 11,
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 4, -1, -1, 31,
-1, -1, -1, 11, 12, 13, 14, 15, 16, 17,
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
-1, -1, -1, 31, -1, -1, -1, -1, -1, -1,
-1, 0, -1, -1, -1, 4, -1, -1, -1, -1,
-1, 73, 11, 12, 13, 14, 15, 16, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 4,
-1, -1, 31, -1, -1, 73, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, -1, -1, -1, 31, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "bison.simple"
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
#ifndef alloca
#ifdef __GNUC__
#define alloca __builtin_alloca
#else /* not GNU C. */
#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
#include <alloca.h>
#else /* not sparc */
#if defined (MSDOS) && !defined (__TURBOC__)
#include <malloc.h>
#else /* not MSDOS, or __TURBOC__ */
#if defined(_AIX)
#include <malloc.h>
#pragma alloca
#else /* not MSDOS, __TURBOC__, or _AIX */
#ifdef __hpux
#ifdef __cplusplus
extern "C" {
void *alloca (unsigned int);
};
#else /* not __cplusplus */
void *alloca ();
#endif /* not __cplusplus */
#endif /* __hpux */
#endif /* not _AIX */
#endif /* not MSDOS, or __TURBOC__ */
#endif /* not sparc. */
#endif /* not GNU C. */
#endif /* alloca not defined. */
/* This is the parser code that is written into each bison parser
when the %semantic_parser declaration is not specified in the grammar.
It was written by Richard Stallman by simplifying the hairy parser
used when %semantic_parser is specified. */
/* Note: there must be only one dollar sign in this file.
It is replaced by the list of actions, each action
as one case of the switch. */
#define yyerrok (yyerrstatus = 0)
#define yyclearin (yychar = YYEMPTY)
#define YYEMPTY -2
#define YYEOF 0
#define YYACCEPT return(0)
#define YYABORT return(1)
#define YYERROR goto yyerrlab1
/* Like YYERROR except do call yyerror.
This remains here temporarily to ease the
transition to the new meaning of YYERROR, for GCC.
Once GCC version 2 has supplanted version 1, this can go. */
#define YYFAIL goto yyerrlab
#define YYRECOVERING() (!!yyerrstatus)
#define YYBACKUP(token, value) \
do \
if (yychar == YYEMPTY && yylen == 1) \
{ yychar = (token), yylval = (value); \
yychar1 = YYTRANSLATE (yychar); \
YYPOPSTACK; \
goto yybackup; \
} \
else \
{ yyerror ("syntax error: cannot back up"); YYERROR; } \
while (0)
#define YYTERROR 1
#define YYERRCODE 256
#ifndef YYPURE
#define YYLEX yylex()
#endif
#ifdef YYPURE
#ifdef YYLSP_NEEDED
#ifdef YYLEX_PARAM
#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM)
#else
#define YYLEX yylex(&yylval, &yylloc)
#endif
#else /* not YYLSP_NEEDED */
#ifdef YYLEX_PARAM
#define YYLEX yylex(&yylval, YYLEX_PARAM)
#else
#define YYLEX yylex(&yylval)
#endif
#endif /* not YYLSP_NEEDED */
#endif
/* If nonreentrant, generate the variables here */
#ifndef YYPURE
int yychar; /* the lookahead symbol */
YYSTYPE yylval; /* the semantic value of the */
/* lookahead symbol */
#ifdef YYLSP_NEEDED
YYLTYPE yylloc; /* location data for the lookahead */
/* symbol */
#endif
int yynerrs; /* number of parse errors so far */
#endif /* not YYPURE */
#if YYDEBUG != 0
int yydebug; /* nonzero means print parse trace */
/* Since this is uninitialized, it does not stop multiple parsers
from coexisting. */
#endif
/* YYINITDEPTH indicates the initial size of the parser's stacks */
#ifndef YYINITDEPTH
#define YYINITDEPTH 200
#endif
/* YYMAXDEPTH is the maximum size the stacks can grow to
(effective only if the built-in stack extension method is used). */
#if YYMAXDEPTH == 0
#undef YYMAXDEPTH
#endif
#ifndef YYMAXDEPTH
#define YYMAXDEPTH 10000
#endif
/* Prevent warning if -Wstrict-prototypes. */
#ifdef __GNUC__
int yyparse (void);
#endif
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
#define __yy_memcpy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
#else /* not GNU C or C++ */
#ifndef __cplusplus
/* This is the most reliable way to avoid incompatibilities
in available built-in functions on various systems. */
static void
__yy_memcpy (from, to, count)
char *from;
char *to;
int count;
{
register char *f = from;
register char *t = to;
register int i = count;
while (i-- > 0)
*t++ = *f++;
}
#else /* __cplusplus */
/* This is the most reliable way to avoid incompatibilities
in available built-in functions on various systems. */
static void
__yy_memcpy (char *from, char *to, int count)
{
register char *f = from;
register char *t = to;
register int i = count;
while (i-- > 0)
*t++ = *f++;
}
#endif
#endif
#line 192 "bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
It should actually point to an object.
Grammar actions can access the variable by casting it
to the proper pointer type. */
#ifdef YYPARSE_PARAM
#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
#else
#define YYPARSE_PARAM
#define YYPARSE_PARAM_DECL
#endif
int
yyparse(YYPARSE_PARAM)
YYPARSE_PARAM_DECL
{
register int yystate;
register int yyn;
register short *yyssp;
register YYSTYPE *yyvsp;
int yyerrstatus; /* number of tokens to shift before error messages enabled */
int yychar1 = 0; /* lookahead token as an internal (translated) token number */
short yyssa[YYINITDEPTH]; /* the state stack */
YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
short *yyss = yyssa; /* refer to the stacks thru separate pointers */
YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
#ifdef YYLSP_NEEDED
YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
YYLTYPE *yyls = yylsa;
YYLTYPE *yylsp;
#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
#else
#define YYPOPSTACK (yyvsp--, yyssp--)
#endif
int yystacksize = YYINITDEPTH;
#ifdef YYPURE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -