📄 wsgram.c
字号:
} \ while (0)# endif# endif/* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of elements in the stack, and YYPTR gives the new location of the stack. Advance YYPTR to a properly aligned location for the next stack. */# define YYSTACK_RELOCATE(Stack) \ do \ { \ YYSIZE_T yynewbytes; \ YYCOPY (&yyptr->Stack, Stack, yysize); \ Stack = &yyptr->Stack; \ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ while (0)#endif#if defined (__STDC__) || defined (__cplusplus) typedef signed char yysigned_char;#else typedef short yysigned_char;#endif/* YYFINAL -- State number of the termination state. */#define YYFINAL 17/* YYLAST -- Last index in YYTABLE. */#define YYLAST 448/* YYNTOKENS -- Number of terminals. */#define YYNTOKENS 109/* YYNNTS -- Number of nonterminals. */#define YYNNTS 55/* YYNRULES -- Number of rules. */#define YYNRULES 146/* YYNRULES -- Number of states. */#define YYNSTATES 257/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */#define YYUNDEFTOK 2#define YYMAXUTOK 340#define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */static const unsigned char yytranslate[] ={ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 106, 2, 107, 2, 104, 97, 2, 87, 88, 102, 100, 89, 101, 108, 103, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 94, 86, 98, 92, 99, 93, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 96, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 90, 95, 91, 105, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 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, 77, 78, 79, 80, 81, 82, 83, 84, 85};#if YYDEBUG/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */static const unsigned short yyprhs[] ={ 0, 0, 3, 6, 8, 10, 12, 15, 19, 21, 23, 25, 27, 31, 34, 37, 40, 45, 48, 50, 52, 54, 57, 61, 65, 68, 72, 74, 76, 78, 80, 83, 92, 93, 95, 96, 98, 99, 101, 103, 107, 109, 111, 113, 116, 118, 120, 123, 126, 128, 132, 134, 135, 137, 139, 142, 146, 149, 151, 155, 158, 159, 162, 170, 176, 182, 184, 194, 205, 209, 210, 212, 214, 218, 220, 224, 228, 232, 236, 240, 244, 248, 252, 256, 260, 264, 268, 272, 274, 280, 282, 286, 288, 292, 294, 298, 300, 304, 306, 310, 312, 316, 320, 322, 326, 330, 334, 338, 340, 344, 348, 352, 354, 358, 362, 364, 368, 372, 376, 380, 382, 385, 388, 391, 394, 397, 400, 403, 406, 408, 411, 414, 416, 419, 424, 429, 431, 433, 435, 437, 439, 441, 443, 447, 450, 454, 456};/* YYRHS -- A `-1'-separated list of the rules' RHS. */static const short yyrhs[] ={ 110, 0, -1, 111, 126, -1, 126, -1, 1, -1, 112, -1, 111, 112, -1, 31, 113, 86, -1, 1, -1, 114, -1, 115, -1, 117, -1, 35, 9, 8, -1, 10, 116, -1, 16, 8, -1, 28, 8, -1, 16, 8, 28, 8, -1, 26, 118, -1, 119, -1, 120, -1, 121, -1, 27, 122, -1, 23, 18, 122, -1, 32, 11, 122, -1, 123, 124, -1, 123, 124, 125, -1, 8, -1, 8, -1, 8, -1, 127, -1, 126, 127, -1, 128, 21, 9, 87, 129, 88, 133, 130, -1, -1, 19, -1, -1, 131, -1, -1, 86, -1, 9, -1, 131, 89, 9, -1, 133, -1, 136, -1, 86, -1, 145, 86, -1, 140, -1, 141, -1, 13, 86, -1, 12, 86, -1, 143, -1, 90, 134, 91, -1, 1, -1, -1, 135, -1, 132, -1, 135, 132, -1, 33, 137, 86, -1, 33, 1, -1, 138, -1, 137, 89, 138, -1, 9, 139, -1, -1, 92, 147, -1, 24, 87, 145, 88, 132, 17, 132, -1, 24, 87, 145, 88, 132, -1, 34, 87, 145, 88, 132, -1, 142, -1, 20, 87, 144, 86, 144, 86, 144, 88, 132, -1, 20, 87, 33, 137, 86, 144, 86, 144, 88, 132, -1, 29, 144, 86, -1, -1, 145, -1, 146, -1, 145, 89, 146, -1, 147, -1, 9, 92, 146, -1, 9, 77, 146, -1, 9, 78, 146, -1, 9, 82, 146, -1, 9, 75, 146, -1, 9, 76, 146, -1, 9, 83, 146, -1, 9, 84, 146, -1, 9, 85, 146, -1, 9, 79, 146, -1, 9, 81, 146, -1, 9, 80, 146, -1, 9, 15, 146, -1, 148, -1, 148, 93, 146, 94, 146, -1, 149, -1, 148, 69, 149, -1, 150, -1, 149, 68, 150, -1, 151, -1, 150, 95, 151, -1, 152, -1, 151, 96, 152, -1, 153, -1, 152, 97, 153, -1, 154, -1, 153, 64, 154, -1, 153, 67, 154, -1, 155, -1, 154, 98, 155, -1, 154, 99, 155, -1, 154, 65, 155, -1, 154, 66, 155, -1, 156, -1, 155, 72, 156, -1, 155, 73, 156, -1, 155, 74, 156, -1, 157, -1, 156, 100, 157, -1, 156, 101, 157, -1, 158, -1, 157, 102, 158, -1, 157, 103, 158, -1, 157, 14, 158, -1, 157, 104, 158, -1, 159, -1, 30, 158, -1, 25, 158, -1, 70, 9, -1, 71, 9, -1, 100, 158, -1, 101, 158, -1, 105, 158, -1, 106, 158, -1, 160, -1, 9, 70, -1, 9, 71, -1, 161, -1, 9, 162, -1, 9, 107, 9, 162, -1, 9, 108, 9, 162, -1, 9, -1, 3, -1, 4, -1, 5, -1, 6, -1, 7, -1, 8, -1, 87, 145, 88, -1, 87, 88, -1, 87, 163, 88, -1, 146, -1, 163, 89, 146, -1};/* YYRLINE[YYN] -- source line where rule number YYN was defined. */static const unsigned short yyrline[] ={ 0, 122, 122, 123, 124, 131, 132, 136, 137, 142, 143, 144, 148, 153, 157, 167, 178, 201, 205, 206, 207, 211, 229, 249, 284, 286, 290, 291, 292, 297, 298, 302, 317, 318, 323, 324, 327, 329, 333, 351, 372, 380, 381, 383, 385, 386, 387, 389, 391, 394, 402, 411, 412, 416, 421, 426, 428, 433, 438, 443, 459, 460, 465, 467, 472, 474, 478, 481, 487, 494, 495, 500, 501, 506, 507, 509, 511, 513, 515, 517, 519, 521, 523, 525, 527, 529, 531, 536, 537, 542, 543, 548, 549, 554, 555, 560, 561, 566, 567, 572, 573, 575, 580, 581, 583, 585, 587, 592, 593, 595, 597, 602, 603, 605, 610, 611, 613, 615, 617, 622, 623, 625, 627, 629, 631, 647, 649, 651, 656, 657, 659, 664, 665, 675, 677, 682, 684, 686, 688, 690, 692, 694, 696, 701, 703, 708, 713};#endif#if YYDEBUG || YYERROR_VERBOSE/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. First, the terminals, then, starting at YYNTOKENS, nonterminals. */static const char *const yytname[] ={ "$end", "error", "$undefined", "tINVALID", "tTRUE", "tFALSE", "tINTEGER", "tFLOAT", "tSTRING", "tIDENTIFIER", "tACCESS", "tAGENT", "tBREAK", "tCONTINUE", "tIDIV", "tIDIVA", "tDOMAIN", "tELSE", "tEQUIV", "tEXTERN", "tFOR", "tFUNCTION", "tHEADER", "tHTTP", "tIF", "tISVALID", "tMETA", "tNAME", "tPATH", "tRETURN", "tTYPEOF", "tUSE", "tUSER", "tVAR", "tWHILE", "tURL", "tDELETE", "tIN", "tLIB", "tNEW", "tNULL", "tTHIS", "tVOID", "tWITH", "tCASE", "tCATCH", "tCLASS", "tCONST", "tDEBUGGER", "tDEFAULT", "tDO", "tENUM", "tEXPORT", "tEXTENDS", "tFINALLY", "tIMPORT", "tPRIVATE", "tPUBLIC", "tSIZEOF", "tSTRUCT", "tSUPER", "tSWITCH", "tTHROW", "tTRY", "tEQ", "tLE", "tGE", "tNE", "tAND", "tOR", "tPLUSPLUS", "tMINUSMINUS", "tLSHIFT", "tRSSHIFT", "tRSZSHIFT", "tADDA", "tSUBA", "tMULA", "tDIVA", "tANDA", "tORA", "tXORA", "tREMA", "tLSHIFTA", "tRSSHIFTA", "tRSZSHIFTA", "';'", "'('", "')'", "','", "'{'", "'}'", "'='", "'?'", "':'", "'|'", "'^'", "'&'", "'<'", "'>'", "'+'", "'-'", "'*'", "'/'", "'%'", "'~'", "'!'", "'#'", "'.'", "$accept", "CompilationUnit", "Pragmas", "Pragma", "PragmaDeclaration", "ExternalCompilationUnitPragma", "AccessControlPragma", "AccessControlSpecifier", "MetaPragma", "MetaSpecifier", "MetaName", "MetaHttpEquiv", "MetaUserAgent", "MetaBody", "MetaPropertyName", "MetaContent", "MetaScheme", "FunctionDeclarations", "FunctionDeclaration", "ExternOpt", "FormalParameterListOpt", "SemicolonOpt", "FormalParameterList", "Statement", "Block", "StatementListOpt", "StatementList", "VariableStatement", "VariableDeclarationList", "VariableDeclaration", "VariableInitializedOpt", "IfStatement", "IterationStatement", "ForStatement", "ReturnStatement", "ExpressionOpt", "Expression", "AssignmentExpression", "ConditionalExpression", "LogicalORExpression", "LogicalANDExpression", "BitwiseORExpression", "BitwiseXORExpression", "BitwiseANDExpression", "EqualityExpression", "RelationalExpression", "ShiftExpression", "AdditiveExpression", "MultiplicativeExpression", "UnaryExpression", "PostfixExpression", "CallExpression", "PrimaryExpression", "Arguments", "ArgumentList", 0};#endif# ifdef YYPRINT/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */static const unsigned short yytoknum[] ={ 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 59, 40, 41, 44, 123, 125, 61, 63, 58, 124, 94, 38, 60, 62, 43, 45, 42, 47, 37, 126, 33, 35, 46};# endif/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */static const unsigned char yyr1[] ={ 0, 109, 110, 110, 110, 111, 111, 112, 112, 113, 113, 113, 114, 115, 116, 116, 116, 117, 118, 118, 118, 119, 120, 121, 122, 122, 123, 124, 125, 126, 126, 127, 128, 128, 129, 129, 130, 130, 131, 131, 132, 132, 132, 132, 132, 132, 132, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, 137, 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, 144, 144, 145, 145, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 147, 147, 148, 148, 149, 149, 150, 150, 151, 151, 152, 152, 153, 153, 153, 154, 154, 154, 154, 154, 155, 155, 155, 155, 156, 156, 156, 157, 157, 157, 157, 157, 158, 158, 158, 158, 158, 158, 158, 158, 158, 159, 159, 159, 160, 160, 160, 160, 161, 161, 161, 161, 161, 161, 161, 161, 162, 162, 163, 163};/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */static const unsigned char yyr2[] ={ 0, 2, 2, 1, 1, 1, 2, 3, 1, 1, 1, 1, 3, 2, 2, 2, 4, 2, 1, 1, 1, 2, 3, 3, 2, 3, 1, 1, 1, 1, 2, 8, 0, 1, 0, 1, 0, 1, 1, 3, 1, 1, 1, 2, 1, 1, 2, 2, 1, 3, 1, 0, 1, 1, 2, 3, 2, 1, 3, 2, 0, 2, 7, 5, 5, 1, 9, 10, 3, 0, 1, 1, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 5, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 1, 3, 3, 3, 3, 1, 3, 3, 3, 1, 3, 3, 1, 3, 3, 3, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 1, 2, 4, 4, 1, 1, 1, 1, 1, 1, 1, 3, 2, 3, 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[] ={ 0, 8, 33, 0, 0, 0, 5, 3, 29, 0, 0, 0, 0, 0, 9, 10, 11, 1, 8, 6, 2, 30, 0, 0, 0, 13, 0, 0, 0, 17, 18, 19, 20, 0, 7, 0, 14, 15, 0, 26, 21, 0, 0, 12, 34, 0, 22, 27, 24, 23, 38, 0, 35, 16, 28, 25, 0, 0, 50, 0, 36, 39, 136, 137, 138, 139, 140, 141, 135, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 42, 0, 0, 0, 0, 0, 53, 40, 0, 0, 41, 44, 45, 65, 48, 0, 71, 73, 87, 89, 91, 93, 95, 97, 99, 102, 107, 111, 114, 119, 128, 131, 37, 31, 0, 129, 130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 132, 47, 46, 69, 0, 135, 121, 0, 70, 120, 56, 60, 0, 57, 0, 122, 123, 0, 124, 125, 126, 127, 49, 54, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86, 78, 79, 75, 76, 83, 85, 84, 77, 80, 81, 82, 143, 145, 0, 74, 0, 0, 0, 0, 0, 68, 0, 59, 55, 0, 0, 142, 72, 90, 0, 92, 94, 96, 98, 100, 101, 105, 106, 103, 104, 108, 109, 110, 112, 113, 117, 115, 116, 118, 144, 0, 133, 134, 0, 69, 0, 61, 58, 0, 0, 146, 69, 0, 63, 64, 88, 0, 69, 0, 69, 0, 62, 0, 0, 0, 66, 67};/* YYDEFGOTO[NTERM-NUM]. */static const short yydefgoto[] ={ -1, 4, 5, 6, 13, 14, 15, 25, 16, 29, 30, 31, 32, 40, 41, 48, 55, 7, 8, 9, 51, 113, 52, 86, 87, 88, 89, 90, 144, 145, 202, 91, 92, 93, 94, 139, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 132, 193};/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */#define YYPACT_NINF -135static const short yypact[] ={ 59, 39, -135, 28, 68, 63, -135, 38, -135, 62, 37, 54, 13, -43, -135, -135, -135, -135, -135, -135, 38, -135, 57, 67, 87, -135, 92, 108, 109, -135, -135, -135, -135, 121, -135, 47, 123, -135, 108, -135, -135, 141, 108, -135, 155, 164, -135, -135, 166, -135, -135, 89, 107, -135, -135, -135, 1, 188, -135, 132, 112, -135, -135, -135, -135, -135, -135, -135, 340, 115, 120, 124, 125, 296, 308, 296, 35, 126, 198, 201, -135, 308, 296, 296, 296, 296, -135, -135, 129, 175, -135, -135, -135, -135, -135, -83, -135, -135, -48, 146, 122, 119, 127, 12, -25, 45, 5, 44, -135, -135, -135, -135, -135, -135, 308, -135, -135, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 308, 222, 308, 207, 212, -135, -135, -135, 264, 308, -38, -135, 148, 147, -135, -135, 143, -1, -135, 308, -135, -135, 43, -135, -135, -135, -135, -135, -135, -135, 308, 296, 308, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, -135, -135, -135, -135, -135, -135, -135, -135, -135, -135, -135, -135, -135, -135, 66, -135, 152, 152, 231, 156, 70, -135, 296, -135, -135, 231, 82, -135, -135, 146, 149, 122, 119, 127, 12, -25, -25, 45, 45, 45, 45, 5, 5, 5, 44, 44, -135, -135, -135, -135, -135, 308, -135, -135, 25, 308, 22, -135, -135, 22, 308, -135, 308, 158, 224, -135, -135, 162, 308, 22, 308, 161, -135, 163, 22, 22, -135, -135};/* YYPGOTO[NTERM-NUM]. */static const short yypgoto[] ={ -135, -135, -135, 245, -135, -135, -135, -135, -135, -135, -135, -135, -135, 29, -135, -135, -135, 248, 17, -135, -135, -135, -135, -85, 199, -135, -135, -135, 60, 50, -135, -135, -135, -135, -135, -134, -74, -109, 55, -135, 100, 99, 102, 98, 101, -22, -65, -46, 20, 14, -135, -135, -135, -10, -135};/* 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 -53static const short yytable[] ={ 140, 198, 58, 156, 155, 179, 157, 149, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 192, 194, 158, 33, 58, 21, 62, 63, 64, 65, 66, 67, 68, 115, 116, 69, 70, 142, 21, 10, -4, 166, 167, 71, 34, 143, 159, 72, 73, 207, 128, 209, 74, 75, 23, 11, 76, 77, 2, 175, -32, 1, 140, 199, 12, 18, 24, 35, 46, 17, 130, 131, 49, 205, 168, 169, 36, 164, 26, 2, 165, -32, 27, 2, 22, -32, 203, 28, 138, 204, 141, 3, 59, 78, 79, 3, 37, 150, 151, 152, 153, 242, 216, 217, 218, 219, 173, 174, 246, 80, 81, 38, 241, 59, 250, 204, 252, 39, 170, 171, 172, 42, 240, 82, 83, 220, 221, 222, 84, 85, 43, 245, 206, 157, 58, 44, 62, 63, 64, 65, 66, 67, 68, 214, 215, 69, 70, 176, 177, 178, 47,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -