📄 swf4compiler.tab.c
字号:
# 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 (YYID (0))#endif/* YYFINAL -- State number of the termination state. */#define YYFINAL 110/* YYLAST -- Last index in YYTABLE. */#define YYLAST 1509/* YYNTOKENS -- Number of terminals. */#define YYNTOKENS 128/* YYNNTS -- Number of nonterminals. */#define YYNNTS 29/* YYNRULES -- Number of rules. */#define YYNRULES 186/* YYNRULES -- Number of states. */#define YYNSTATES 425/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */#define YYUNDEFTOK 2#define YYMAXUTOK 364#define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */static const yytype_uint8 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, 118, 2, 2, 2, 2, 113, 2, 125, 126, 116, 114, 107, 115, 127, 117, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 110, 124, 111, 108, 112, 109, 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, 122, 2, 123, 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, 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, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 119, 120, 121};#if YYDEBUG/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */static const yytype_uint16 yyprhs[] ={ 0, 0, 3, 5, 7, 10, 12, 15, 19, 21, 24, 26, 28, 30, 32, 34, 38, 39, 41, 44, 55, 64, 74, 85, 94, 104, 112, 118, 119, 121, 131, 137, 144, 154, 155, 157, 160, 163, 164, 167, 171, 176, 181, 186, 191, 198, 206, 213, 221, 229, 236, 251, 260, 264, 268, 272, 276, 280, 284, 289, 294, 299, 304, 309, 314, 320, 326, 331, 335, 340, 345, 350, 355, 360, 367, 376, 383, 386, 389, 391, 395, 397, 400, 402, 404, 406, 410, 415, 418, 423, 426, 429, 432, 436, 440, 444, 448, 452, 456, 460, 464, 468, 472, 476, 480, 484, 488, 492, 496, 500, 506, 508, 512, 514, 516, 518, 520, 522, 524, 526, 528, 532, 534, 535, 541, 543, 546, 549, 554, 559, 563, 567, 571, 575, 579, 585, 591, 597, 603, 609, 611, 613, 615, 619, 621, 624, 625, 629, 631, 633, 635, 637, 639, 641, 643, 645, 647, 649, 651, 653, 655, 657, 659, 661, 663, 665, 667, 669, 671, 673, 675, 677, 679, 681, 683, 685, 687, 689, 691, 693, 695, 697, 699, 702, 705, 708, 711};/* YYRHS -- A `-1'-separated list of the rules' RHS. */static const yytype_int16 yyrhs[] ={ 129, 0, -1, 130, -1, 131, -1, 130, 131, -1, 132, -1, 122, 123, -1, 122, 134, 123, -1, 124, -1, 149, 124, -1, 135, -1, 137, -1, 139, -1, 140, -1, 149, -1, 133, 107, 149, -1, -1, 132, -1, 134, 132, -1, 6, 125, 40, 125, 87, 126, 126, 132, 7, 132, -1, 6, 125, 40, 125, 87, 126, 126, 132, -1, 6, 125, 118, 40, 125, 87, 126, 126, 132, -1, 6, 125, 40, 125, 151, 126, 126, 132, 7, 132, -1, 6, 125, 40, 125, 151, 126, 126, 132, -1, 6, 125, 118, 40, 125, 151, 126, 126, 132, -1, 6, 125, 151, 126, 132, 7, 132, -1, 6, 125, 151, 126, 132, -1, -1, 151, -1, 9, 125, 118, 40, 125, 87, 126, 126, 132, -1, 9, 125, 151, 126, 132, -1, 8, 132, 9, 125, 151, 126, -1, 4, 125, 138, 124, 136, 124, 138, 126, 132, -1, -1, 133, -1, 5, 124, -1, 3, 124, -1, -1, 107, 86, -1, 21, 125, 126, -1, 24, 125, 146, 126, -1, 24, 125, 86, 126, -1, 18, 125, 151, 126, -1, 19, 125, 151, 126, -1, 25, 125, 151, 107, 151, 126, -1, 25, 125, 151, 107, 151, 141, 126, -1, 26, 125, 86, 107, 86, 126, -1, 27, 125, 151, 107, 151, 141, 126, -1, 28, 125, 151, 107, 151, 141, 126, -1, 20, 125, 151, 107, 151, 126, -1, 20, 125, 151, 107, 151, 107, 151, 107, 151, 107, 151, 107, 151, 126, -1, 17, 125, 151, 107, 151, 107, 151, 126, -1, 32, 125, 126, -1, 33, 125, 126, -1, 34, 125, 126, -1, 35, 125, 126, -1, 36, 125, 126, -1, 37, 125, 126, -1, 38, 125, 87, 126, -1, 38, 125, 86, 126, -1, 38, 125, 151, 126, -1, 39, 125, 151, 126, -1, 41, 125, 86, 126, -1, 41, 125, 151, 126, -1, 84, 125, 86, 126, 132, -1, 84, 125, 151, 126, 132, -1, 11, 125, 151, 126, -1, 12, 125, 126, -1, 13, 125, 151, 126, -1, 14, 125, 151, 126, -1, 15, 125, 151, 126, -1, 22, 125, 151, 126, -1, 23, 125, 151, 126, -1, 16, 125, 151, 107, 151, 126, -1, 30, 125, 151, 107, 151, 107, 151, 126, -1, 31, 125, 151, 107, 86, 126, -1, 148, 96, -1, 148, 97, -1, 143, -1, 125, 145, 126, -1, 87, -1, 115, 87, -1, 86, -1, 146, -1, 147, -1, 147, 127, 88, -1, 96, 147, 127, 88, -1, 96, 148, -1, 97, 147, 127, 88, -1, 97, 148, -1, 115, 145, -1, 118, 145, -1, 148, 108, 145, -1, 145, 116, 145, -1, 145, 117, 145, -1, 145, 114, 145, -1, 145, 115, 145, -1, 145, 113, 145, -1, 145, 111, 145, -1, 145, 112, 145, -1, 145, 91, 145, -1, 145, 92, 145, -1, 145, 103, 145, -1, 145, 102, 145, -1, 145, 104, 145, -1, 145, 90, 145, -1, 145, 93, 145, -1, 145, 94, 145, -1, 145, 95, 145, -1, 145, 109, 145, 110, 145, -1, 88, -1, 147, 110, 88, -1, 10, -1, 127, -1, 117, -1, 105, -1, 88, -1, 89, -1, 146, -1, 86, -1, 125, 145, 126, -1, 144, -1, -1, 42, 122, 150, 154, 123, -1, 142, -1, 96, 148, -1, 97, 148, -1, 96, 147, 127, 88, -1, 97, 147, 127, 88, -1, 148, 108, 145, -1, 148, 100, 145, -1, 148, 99, 145, -1, 148, 98, 145, -1, 148, 101, 145, -1, 147, 127, 88, 108, 145, -1, 147, 127, 88, 100, 145, -1, 147, 127, 88, 99, 145, -1, 147, 127, 88, 98, 145, -1, 147, 127, 88, 101, 145, -1, 145, -1, 86, -1, 152, -1, 153, 107, 152, -1, 155, -1, 154, 155, -1, -1, 58, 156, 153, -1, 43, -1, 82, -1, 45, -1, 44, -1, 46, -1, 47, -1, 48, -1, 49, -1, 50, -1, 51, -1, 52, -1, 54, -1, 53, -1, 55, -1, 56, -1, 83, -1, 57, -1, 59, -1, 60, -1, 61, -1, 80, -1, 81, -1, 62, -1, 65, -1, 66, -1, 68, -1, 71, -1, 70, -1, 72, -1, 73, -1, 76, -1, 75, -1, 77, -1, 78, -1, 79, -1, 63, 87, -1, 64, 87, -1, 67, 87, -1, 69, 87, -1, 74, 87, -1};/* YYRLINE[YYN] -- source line where rule number YYN was defined. */static const yytype_uint16 yyrline[] ={ 0, 161, 161, 167, 168, 173, 177, 178, 179, 180, 181, 182, 183, 184, 188, 189, 193, 194, 195, 202, 218, 234, 246, 260, 274, 284, 295, 305, 306, 330, 345, 357, 365, 387, 388, 392, 400, 409, 411, 418, 422, 429, 436, 440, 445, 452, 459, 468, 475, 483, 490, 502, 511, 515, 519, 523, 527, 531, 535, 542, 549, 555, 561, 568, 572, 586, 599, 603, 607, 611, 615, 619, 623, 627, 632, 638, 647, 658, 672, 674, 677, 682, 688, 693, 699, 704, 712, 727, 737, 752, 762, 767, 771, 777, 782, 787, 792, 797, 802, 807, 812, 818, 823, 828, 832, 836, 840, 845, 849, 853, 865, 867, 874, 877, 880, 883, 886, 889, 894, 899, 904, 908, 911, 910, 915, 917, 925, 933, 946, 959, 963, 970, 977, 984, 991, 1000, 1013, 1026, 1039, 1054, 1058, 1062, 1063, 1067, 1068, 1072, 1072, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1114, 1118, 1122, 1125, 1129};#endif#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE/* YYTNAME[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", "BREAK", "FOR", "CONTINUE", "IF", "ELSE", "DO", "WHILE", "THIS", "EVAL", "TIME", "RANDOM", "LENGTH", "INT", "CONCAT", "DUPLICATECLIP", "REMOVECLIP", "TRACE", "STARTDRAG", "STOPDRAG", "ORD", "CHR", "CALLFRAME", "GETURL", "GETURL1", "LOADMOVIE", "LOADVARIABLES", "POSTURL", "SUBSTR", "GETPROPERTY", "NEXTFRAME", "PREVFRAME", "PLAY", "STOP", "TOGGLEQUALITY", "STOPSOUNDS", "GOTOFRAME", "GOTOANDPLAY", "FRAMELOADED", "SETTARGET", "ASM", "ASMADD", "ASMDIVIDE", "ASMMULTIPLY", "ASMEQUALS", "ASMLESS", "ASMLOGICALAND", "ASMLOGICALOR", "ASMLOGICALNOT", "ASMSTRINGAND", "ASMSTRINGEQUALS", "ASMSTRINGEXTRACT", "ASMSTRINGLENGTH", "ASMMBSTRINGEXTRACT", "ASMMBSTRINGLENGTH", "ASMPOP", "ASMPUSH", "ASMASCIITOCHAR", "ASMCHARTOASCII", "ASMTOINTEGER", "ASMCALL", "ASMIF", "ASMJUMP", "ASMGETVARIABLE", "ASMSETVARIABLE", "ASMGETURL2", "ASMGETPROPERTY", "ASMGOTOFRAME2", "ASMREMOVESPRITE", "ASMSETPROPERTY", "ASMSETTARGET2", "ASMSTARTDRAG", "ASMWAITFORFRAME2", "ASMCLONESPRITE", "ASMENDDRAG", "ASMGETTIME", "ASMRANDOMNUMBER", "ASMTRACE", "ASMMBASCIITOCHAR", "ASMMBCHARTOASCII", "ASMSUBSTRACT", "ASMSTRINGLESS", "TELLTARGET", "BROKENSTRING", "STRING", "NUMBER", "IDENTIFIER", "PATH", "\"==\"", "\"<=\"", "\">=\"", "\"!=\"", "\"&&\"", "\"||\"", "\"++\"", "\"--\"", "\"+=\"", "\"/=\"", "\"*=\"", "\"-=\"", "\"===\"", "\"!==\"", "\"<=>\"", "\"..\"", "\"end\"", "','", "'='", "'?'", "':'", "'<'", "'>'", "'&'", "'+'", "'-'", "'*'", "'/'", "'!'", "UMINUS", "POSTFIX", "NEGATE", "'{'", "'}'", "';'", "'('", "')'", "'.'", "$accept", "program", "elems", "elem", "stmt", "assign_stmts", "statements", "if_stmt", "expr_opt", "iter_stmt", "assign_stmts_opt", "cont_stmt", "break_stmt", "urlmethod", "void_function_call", "function_call", "pf_expr", "rhs_expr", "variable", "sprite", "lhs_expr", "assign_stmt", "@1", "expr", "push_item", "push_list", "opcode_list", "opcode", "@2", 0};#endif# ifdef YYPRINT/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */static const yytype_uint16 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, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 44, 61, 63, 58, 60, 62, 38, 43, 45, 42, 47, 33, 362, 363, 364, 123, 125, 59, 40, 41, 46};# endif/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */static const yytype_uint8 yyr1[] ={ 0, 128, 129, 130, 130, 131, 132, 132, 132, 132, 132, 132, 132, 132, 133, 133, 134, 134, 134, 135,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -