📄 grammar.c
字号:
143, 143, 143, 143, 144, 144, 144, 144, 144, 145, 145, 146, 146, 146, 146, 146, 146, 146, 146, 147, 147, 147, 147, 148, 148, 149, 149, 149, 149, 150, 151, 151, 152, 152, 152, 152, 153, 153, 153, 153, 154, 155, 155};/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */static const unsigned char yyr2[] ={ 0, 2, 2, 1, 0, 1, 3, 3, 3, 3, 1, 1, 1, 1, 3, 1, 3, 3, 1, 3, 1, 1, 1, 2, 1, 1, 1, 3, 3, 1, 1, 1, 2, 3, 2, 2, 2, 2, 2, 2, 3, 1, 3, 3, 1, 1, 1, 2, 2, 1, 0, 1, 1, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 6, 3, 3, 3, 3, 3, 3, 3, 3, 2, 3, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 1, 1, 3, 1, 1, 1, 1, 1, 2, 2, 3, 1, 1, 3};/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state STATE-NUM when YYTABLE doesn't specify something else to do. Zero means the default is an error. */static const unsigned char yydefact[] ={ 4, 0, 50, 1, 0, 0, 0, 64, 65, 63, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 80, 79, 149, 105, 106, 0, 0, 0, 0, 0, 0, 62, 143, 81, 82, 83, 84, 108, 110, 111, 112, 85, 86, 95, 87, 88, 89, 90, 91, 92, 94, 93, 96, 97, 98, 151, 152, 153, 154, 157, 158, 155, 156, 159, 160, 161, 162, 163, 164, 99, 172, 173, 174, 175, 24, 0, 25, 2, 50, 50, 5, 0, 31, 0, 49, 44, 113, 0, 130, 129, 45, 46, 0, 0, 102, 103, 0, 114, 115, 116, 117, 120, 121, 118, 122, 119, 0, 107, 109, 0, 0, 141, 10, 11, 50, 50, 32, 0, 130, 129, 15, 21, 18, 20, 22, 39, 12, 0, 0, 13, 52, 51, 57, 61, 58, 59, 60, 36, 37, 100, 101, 34, 35, 38, 0, 124, 126, 128, 0, 0, 0, 0, 0, 0, 0, 0, 123, 125, 127, 0, 0, 169, 0, 0, 0, 47, 165, 180, 0, 0, 0, 48, 176, 145, 144, 147, 148, 146, 0, 0, 0, 7, 50, 50, 6, 129, 9, 8, 40, 142, 150, 0, 0, 0, 23, 26, 30, 0, 29, 0, 0, 0, 0, 33, 0, 139, 140, 138, 137, 133, 134, 135, 136, 42, 43, 170, 0, 166, 167, 181, 0, 177, 178, 104, 129, 17, 16, 19, 14, 0, 0, 56, 54, 55, 53, 131, 0, 168, 0, 179, 0, 27, 28, 0, 171, 182, 132};/* YYDEFGOTO[NTERM-NUM]. */static const short int yydefgoto[] ={ -1, 1, 2, 120, 117, 118, 197, 129, 130, 112, 199, 200, 83, 84, 85, 86, 144, 145, 146, 113, 88, 89, 106, 108, 162, 163, 90, 91, 181, 92, 93, 94, 95, 168, 169, 219, 96, 174, 175, 223};/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */#define YYPACT_NINF -177static const short int yypact[] ={ -177, 15, 196, -177, -13, -7, -3, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, 10, 14, 0, 17, -24, 25, -177, -177, -177, -177, -177, -177, -14, -14, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, 480, -177, -67, 386, 386, -177, -33, -177, 556, 4, -177, -177, 475, -177, -177, -177, -177, 133, 139, -177, -177, -56, -177, -177, -177, -177, -177, -177, -177, -177, -177, -14, -177, -177, 480, -36, -177, -177, -177, 291, 291, -177, -71, -51, -27, -177, -177, 5, -15, -177, -177, -177, -33, -33, -177, -30, -26, -177, -177, -177, -177, -177, -177, -177, -177, -177, 55, -177, -177, 480, -177, -177, -177, 480, 480, 480, 480, 480, 480, 480, 480, -177, -177, -177, 480, 480, -177, 50, 63, 70, -177, -177, -177, 72, 94, 105, -177, -177, -177, -177, -177, -177, -177, 112, -27, 99, -177, 291, 291, -177, 2, -177, -177, -177, -177, -177, 106, 122, 123, -177, -177, 58, -67, -27, 163, 164, 167, 168, -177, 59, 41, 41, 335, 16, -1, -1, -177, -177, 99, 99, -177, -78, -177, -177, -177, -59, -177, -177, -177, -47, -177, -177, -177, -177, -33, -33, -177, -177, -177, -177, -177, 136, -177, 50, -177, 72, -177, -177, 62, -177, -177, -177};/* YYPGOTO[NTERM-NUM]. */static const short int yypgoto[] ={ -177, -177, -177, 175, -22, -176, -83, -120, 6, -2, -177, -177, -76, -177, -177, -177, -177, 38, -177, 8, -177, -177, -177, -177, 44, 60, -20, -68, -177, -34, -177, -177, -177, -177, -156, -177, -177, -177, -145, -177};/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */#define YYTABLE_NINF -42static const short int yytable[] ={ 82, 128, -13, 25, -41, 119, 110, 111, 81, 218, 87, 198, 104, 194, 121, 3, 123, 124, 125, 126, 127, 116, 25, 97, 233, 105, 222, 115, 116, 98, 240, 115, 116, 99, 184, 189, 102, 191, 109, 109, 116, 187, 190, 241, 121, 176, 177, 243, 122, 242, 132, -29, -29, 103, 178, 179, 180, 192, 114, 100, 135, 193, 137, 101, 138, 139, 198, 77, 202, 203, 151, 152, 204, 205, 107, 182, 79, 147, 122, 82, 82, 193, 131, 188, 188, 247, 164, 81, 81, 87, 87, 196, 183, 165, 171, 79, 132, 201, 248, 220, -13, -13, -41, -41, 157, 158, 221, 109, 170, 119, -13, 195, -41, 151, 152, 186, 186, 147, 121, 155, 156, 157, 158, 185, 185, 87, 87, 207, 131, 109, 224, 208, 209, 210, 211, 212, 213, 214, 215, 166, 172, 225, 216, 217, 155, 156, 157, 158, 226, 244, 245, 188, 227, 151, 152, 167, 173, 228, 229, 230, 153, 154, 155, 156, 157, 158, 231, 234, 235, 164, 236, 237, 246, 238, 239, 170, 249, 80, 232, 148, 149, 150, 206, 186, 82, 148, 149, 150, 0, 0, 0, 185, 185, 87, 87, 0, -3, 0, 132, 132, 153, 154, 155, 156, 157, 158, 0, 4, 5, 0, 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 131, 131, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 79, 159, 160, 161, 0, 0, 79, 159, 160, 161, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 0, 0, 77, 0, 0, 0, 78, 0, 4, 5, 0, 79, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 0, 0, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 0, 0, 0, 123, 124, 125, 126, 127, 0, 0, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 151, 152, 77, 0, 0, 0, 78, 0, 4, 5, 0, 79, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 0, 0, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 0, 0, 0, 0, 0, 154, 155, 156, 157, 158, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 0, 0, 77, 0, 0, 0, 78, 0, 0, 0, 0, 79, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 0, 0, 25, 0, 0, 0, 0, 148, 149, 150, 0, 34, 0, 0, 0, 151, 152, 0, 0, 0, 0, 0, 35, 36, 37, 38, 39, 0, 0, 0, 0, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 133, 134, 135, 136, 137, 0, 138, 139, 0, 0, 140, 141, 0, 0, 72, 0, 0, 153, 154, 155, 156, 157, 158, 0, 0, 78, 159, 160, 161, 0, 79, 142, 143};static const short int yycheck[] ={ 2, 84, 0, 36, 0, 81, 40, 41, 2, 165, 2, 131, 36, 8, 82, 0, 49, 50, 51, 52, 53, 99, 36, 36, 200, 49, 171, 98, 99, 36, 108, 98, 99, 36, 117, 118, 36, 108, 40, 41, 99, 117, 118, 219, 112, 101, 102, 223, 82, 108, 84, 98, 99, 36, 110, 111, 112, 108, 78, 49, 5, 108, 7, 49, 9, 10, 186, 100, 98, 99, 54, 55, 98, 99, 49, 109, 109, 113, 112, 81, 82, 108, 84, 117, 118, 241, 36, 81, 82, 81, 82, 106, 112, 95, 96, 109, 130, 131, 243, 36, 98, 99, 98, 99, 105, 106, 36, 109, 36, 185, 108, 106, 108, 54, 55, 117, 118, 113, 186, 103, 104, 105, 106, 117, 118, 117, 118, 147, 130, 131, 36, 151, 152, 153, 154, 155, 156, 157, 158, 95, 96, 36, 162, 163, 103, 104, 105, 106, 36, 232, 233, 185, 186, 54, 55, 95, 96, 51, 36, 36, 101, 102, 103, 104, 105, 106, 108, 4, 4, 36, 3, 3, 36, 114, 115, 36, 114, 2, 200, 46, 47, 48, 144, 185, 186, 46, 47, 48, -1, -1, -1, 185, 186, 185, 186, -1, 0, -1, 232, 233, 101, 102, 103, 104, 105, 106, -1, 11, 12, -1, -1, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 232, 233, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 109, 110, 111, 112, -1, -1, 109, 110, 111, 112, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, -1, -1, 100, -1, -1, -1, 104, -1, 11, 12, -1, 109, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, -1, -1, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, -1, -1, 49, 50, 51, 52, 53, -1, -1, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 54, 55, 100, -1, -1, -1, 104, -1, 11, 12, -1, 109, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, -1, -1, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, -1, -1, -1, -1, 102, 103, 104, 105, 106, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, -1, -1, 100, -1, -1, -1, 104, -1, -1, -1, -1, 109, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, -1, -1, 36, -1, -1, -1, -1, 46, 47, 48, -1, 45, -1, -1, -1, 54, 55, -1, -1, -1, -1, -1, 56, 57, 58, 59, 60, -1, -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 3, 4, 5, 6, 7, -1, 9, 10, -1, -1, 13, 14, -1, -1, 93, -1, -1, 101, 102, 103, 104, 105, 106, -1, -1, 104, 110, 111, 112, -1, 109, 34, 35};/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */static const unsigned char yystos[] ={ 0, 117, 118, 0, 11, 12, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 100, 104, 109, 119, 124, 125, 128, 129, 130, 131, 135, 136, 137, 142, 143, 145, 146, 147, 148, 152, 36, 36, 36, 49, 49, 36, 36, 36, 49, 138, 49, 139, 125, 145, 145, 125, 135, 142, 98, 99, 120, 121, 128, 119, 143, 145, 49, 50, 51, 52, 53, 122, 123, 124, 125, 145, 3, 4, 5, 6, 7, 9, 10, 13, 14, 34, 35, 132, 133, 134, 113, 46, 47, 48, 54, 55, 101, 102, 103, 104, 105, 106, 110, 111, 112, 140, 141, 36, 125, 140, 141, 149, 150, 36, 125, 140, 141, 153, 154, 101, 102, 110, 111, 112, 144, 145, 142, 122, 124, 125, 128, 145, 122, 128, 108, 108, 108, 8, 106, 106, 122, 123, 126, 127, 145, 98, 99, 98, 99, 133, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 150, 151, 36, 36, 154, 155, 36, 36, 36, 145, 51, 36, 36, 108, 120, 121, 4, 4, 3, 3, 114, 115, 108, 121, 108, 121, 122, 122, 36, 150, 154, 114};#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/* 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); \ yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ { \ yyerror (YY_("syntax error: cannot back up")); \ YYERROR; \ } \while (0)#define YYTERROR 1#define YYERRCODE 256/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. If N is 0, then set CURRENT to the empty location which ends the previous symbol: RHS[0] (always defined). */#define YYRHSLOC(Rhs, K) ((Rhs)[K])#ifndef YYLLOC_DEFAULT# define YYLLOC_DEFAULT(Current, Rhs, N) \ do \ if (N) \ { \ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ } \ else \ { \ (Current).first_line = (Current).last_line = \ YYRHSLOC (Rhs, 0).last_line; \ (Current).first_column = (Current).last_column = \ YYRHSLOC (Rhs, 0).last_column; \ } \ while (0)#endif/* YY_LOCATION_PRINT -- Print the location on the stream. This macro was not mandated originally: define only if we know we won't break user code: when these are the locations we know. */#ifndef YY_LOCATION_PRINT# if YYLTYPE_IS_TRIVIAL# define YY_LOCATION_PRINT(File, Loc) \ fprintf (File, "%d.%d-%d.%d", \ (Loc).first_line, (Loc).first_column, \ (Loc).last_line, (Loc).last_column)# else# define YY_LOCATION_PRINT(File, Loc) ((void) 0)# endif#endif/* YYLEX -- calling `yylex' with the right arguments. */#ifdef YYLEX_PARAM# define YYLEX yylex (YYLEX_PARAM)#else# define YYLEX yylex ()#endif/* Enable debugging if requested. */#if YYDEBUG# ifndef YYFPRINTF# include <stdio.h> /* INFRINGES ON USER NAME SPACE */# define YYFPRINTF fprintf# endif# define YYDPRINTF(Args) \do { \ if (yydebug) \ YYFPRINTF Args; \} while (0)# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \do { \ if (yydebug) \ { \ YYFPRINTF (stderr, "%s ", Title); \ yysymprint (stderr, \ Type, Value); \ YYFPRINTF (stderr, "\n"); \ } \} while (0)/*------------------------------------------------------------------.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -