From f5d494794ee290c1a0f1dc4d4b2156b04c9a5a97 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Fri, 20 Mar 2009 16:27:15 +0100 Subject: [PATCH] implemented url resolving in namespaces --- lib/as3/parser.tab.c | 2583 ++++++++++++++++++++++++------------------------ lib/as3/parser.y | 62 +- lib/as3/registry.c | 5 + lib/as3/registry.h | 3 + lib/as3/tokenizer.lex | 7 - lib/as3/tokenizer.yy.c | 241 +++-- 6 files changed, 1474 insertions(+), 1427 deletions(-) diff --git a/lib/as3/parser.tab.c b/lib/as3/parser.tab.c index 0623611..d2960e5 100644 --- a/lib/as3/parser.tab.c +++ b/lib/as3/parser.tab.c @@ -380,6 +380,7 @@ typedef struct _state { dict_t*imports; namespace_list_t*active_namespaces; namespace_decl_list_t*new_namespaces; + dict_t*namespace2url; char has_own_imports; char new_vars; // e.g. transition between two functions @@ -469,6 +470,7 @@ static void new_state() state->vars = dict_new(); state->old = oldstate; state->new_vars = 0; + state->namespace2url = 0; } static void state_has_imports() { @@ -526,6 +528,8 @@ static void old_state() tokenizer_unregister_namespace(nl->namespace_decl->name); nl = nl->next; } + if(leaving->namespace2url) + dict_destroy(leaving->namespace2url); if(as3_pass>1 && leaving->method && leaving->method != state->method && !leaving->method->inner) { free(leaving->method); @@ -868,7 +872,14 @@ static namespace_t modifiers2access(modifiers_t*mod) if(mod->flags&(FLAG_PRIVATE|FLAG_PROTECTED|FLAG_PACKAGEINTERNAL)) syntaxerror("invalid combination of access levels and namespaces"); ns.access = ACCESS_NAMESPACE; - ns.name = mod->ns; + state_t*s = state; + const char*url = (const char*)dict_lookup(state->namespace2url, mod->ns); + if(!url) { + /* shouldn't happen- the tokenizer only reports something as a namespace + if it was already registered */ + syntaxerror("unknown namespace: %s", mod->ns); + } + ns.name = url; } else if(mod->flags&FLAG_PUBLIC) { if(mod->flags&(FLAG_PRIVATE|FLAG_PROTECTED|FLAG_PACKAGEINTERNAL)) syntaxerror("invalid combination of access levels"); @@ -1187,6 +1198,7 @@ void check_code_for_break(code_t*c) static void check_constant_against_type(classinfo_t*t, constant_t*c) { + return; #define xassert(b) if(!(b)) syntaxerror("Invalid default value %s for type '%s'", constant_tostring(c), t->name) if(TYPE_IS_NUMBER(t)) { xassert(c->type == CONSTANT_FLOAT @@ -1397,8 +1409,6 @@ static void startfunction(modifiers_t*mod, enum yytokentype getset, char*name, static abc_method_t* endfunction(modifiers_t*mod, enum yytokentype getset, char*name, params_t*params, classinfo_t*return_type, code_t*body) { - int flags = mod?mod->flags:0; - if(as3_pass==1) { // store inner methods in variables function_initvars(state->method, 0, 0, 0); @@ -1471,10 +1481,10 @@ static abc_method_t* endfunction(modifiers_t*mod, enum yytokentype getset, char* } else if(state->method->is_constructor) { f = abc_class_getconstructor(state->cls->abc, type2); } else if(!state->method->is_global) { - namespace_t mname_ns = {state->method->info->access, ""}; + namespace_t mname_ns = modifiers2access(mod); multiname_t mname = {QNAME, &mname_ns, 0, name}; - if(flags&FLAG_STATIC) + if(mod->flags&FLAG_STATIC) f = abc_class_staticmethod(state->cls->abc, type2, &mname); else f = abc_class_method(state->cls->abc, type2, &mname); @@ -1490,7 +1500,7 @@ static abc_method_t* endfunction(modifiers_t*mod, enum yytokentype getset, char* //flash doesn't seem to allow us to access function slots //state->method->info->slot = slot; - if(flags&FLAG_OVERRIDE) f->trait->attributes |= TRAIT_ATTR_OVERRIDE; + if(mod->flags&FLAG_OVERRIDE) f->trait->attributes |= TRAIT_ATTR_OVERRIDE; if(getset == KW_GET) f->trait->kind = TRAIT_GETTER; if(getset == KW_SET) f->trait->kind = TRAIT_SETTER; if(params->varargs) f->flags |= METHOD_NEED_REST; @@ -1964,6 +1974,18 @@ char is_break_or_jump(code_t*c) return 0; } +void register_namespace(const char*name, const char*url) +{ + NEW(namespace_decl_t,n); + n->name = name; + n->url = url; + if(!state->namespace2url) { + state->namespace2url = dict_new(); + } + dict_put(state->namespace2url, name, url); + list_append(state->new_namespaces, n); + tokenizer_register_namespace(name); +} #define IS_FINALLY_TARGET(op) \ ((op) == OPCODE___CONTINUE__ || \ @@ -2089,7 +2111,7 @@ code_t* insert_finally(code_t*c, code_t*finally, int tempvar) /* Line 273 of skeleton.m4 */ -#line 2093 "parser.tab.c" +#line 2115 "parser.tab.c" #ifdef short # undef short @@ -2302,18 +2324,18 @@ union yyalloc #endif /* YYFINAL -- State number of the termination state. */ -#define YYFINAL 146 +#define YYFINAL 147 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 3061 +#define YYLAST 3001 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 134 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 114 /* YYNRULES -- Number of rules. */ -#define YYNRULES 308 +#define YYNRULES 309 /* YYNRULES -- Number of states. */ -#define YYNSTATES 520 +#define YYNSTATES 521 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 @@ -2380,26 +2402,26 @@ static const yytype_uint16 yyprhs[] = 210, 212, 215, 217, 220, 221, 223, 225, 228, 230, 233, 238, 242, 243, 252, 253, 263, 264, 270, 272, 275, 277, 280, 282, 283, 290, 293, 295, 300, 303, - 305, 307, 311, 313, 314, 321, 322, 328, 331, 336, - 337, 339, 341, 344, 346, 348, 350, 352, 354, 356, - 358, 360, 362, 364, 365, 368, 369, 372, 373, 376, - 377, 387, 388, 397, 398, 400, 402, 405, 407, 412, - 414, 416, 418, 419, 421, 423, 426, 428, 431, 440, - 442, 444, 445, 450, 452, 456, 460, 461, 464, 466, - 468, 470, 472, 474, 476, 478, 480, 482, 483, 485, - 488, 493, 497, 499, 504, 507, 509, 511, 512, 513, - 526, 528, 529, 530, 541, 543, 547, 549, 551, 553, - 557, 559, 561, 563, 566, 567, 568, 572, 573, 575, - 577, 579, 582, 585, 586, 591, 596, 601, 604, 606, - 609, 611, 613, 617, 619, 621, 623, 625, 627, 629, + 305, 307, 309, 313, 315, 316, 323, 324, 330, 333, + 338, 339, 341, 343, 346, 348, 350, 352, 354, 356, + 358, 360, 362, 364, 366, 367, 370, 371, 374, 375, + 378, 379, 389, 390, 399, 400, 402, 404, 407, 409, + 414, 416, 418, 420, 421, 423, 425, 428, 430, 433, + 442, 444, 446, 447, 452, 454, 458, 462, 463, 466, + 468, 470, 472, 474, 476, 478, 480, 482, 484, 485, + 487, 490, 495, 499, 501, 506, 509, 511, 513, 514, + 515, 528, 530, 531, 532, 543, 545, 549, 551, 553, + 555, 559, 561, 563, 565, 568, 569, 570, 574, 575, + 577, 579, 581, 584, 587, 588, 593, 598, 603, 606, + 608, 611, 613, 615, 619, 621, 623, 625, 627, 629, 631, 633, 635, 637, 639, 641, 643, 645, 647, 649, - 651, 653, 657, 661, 665, 669, 673, 677, 681, 685, - 689, 693, 696, 699, 703, 707, 711, 715, 719, 723, - 727, 731, 735, 739, 743, 747, 751, 755, 759, 764, - 767, 769, 773, 776, 781, 785, 786, 788, 792, 798, - 802, 806, 810, 814, 818, 822, 826, 830, 834, 838, - 842, 846, 852, 855, 858, 861, 864, 868, 871, 876, - 882, 886, 892, 896, 898, 901, 906, 911, 914 + 651, 653, 655, 659, 663, 667, 671, 675, 679, 683, + 687, 691, 695, 698, 701, 705, 709, 713, 717, 721, + 725, 729, 733, 737, 741, 745, 749, 753, 757, 761, + 766, 769, 771, 775, 778, 783, 787, 788, 790, 794, + 800, 804, 808, 812, 816, 820, 824, 828, 832, 836, + 840, 844, 848, 854, 857, 860, 863, 866, 870, 873, + 878, 884, 888, 894, 898, 900, 903, 908, 913, 916 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ @@ -2435,104 +2457,104 @@ static const yytype_int16 yyrhs[] = 173, -1, 177, 173, -1, 177, -1, 177, 175, -1, 175, -1, -1, 52, 126, 180, 142, 132, 178, -1, 37, 238, -1, 37, -1, 39, 122, 238, 133, -1, - 182, 146, -1, 3, -1, 19, -1, 185, 127, 184, - -1, 184, -1, -1, 19, 185, 126, 187, 139, 132, - -1, -1, 19, 126, 188, 139, 132, -1, 41, 223, - -1, 41, 185, 127, 115, -1, -1, 191, -1, 192, - -1, 191, 192, -1, 21, -1, 22, -1, 20, -1, - 38, -1, 47, -1, 49, -1, 48, -1, 26, -1, - 24, -1, 4, -1, -1, 54, 224, -1, -1, 54, - 225, -1, -1, 17, 225, -1, -1, 190, 31, 3, - 193, 195, 126, 197, 200, 132, -1, -1, 190, 44, - 3, 194, 126, 199, 203, 132, -1, -1, 201, -1, - 202, -1, 201, 202, -1, 99, -1, 148, 126, 200, - 132, -1, 207, -1, 217, -1, 144, -1, -1, 204, - -1, 205, -1, 204, 205, -1, 99, -1, 46, 3, - -1, 190, 27, 216, 3, 122, 213, 133, 227, -1, - 46, -1, 32, -1, -1, 190, 206, 208, 209, -1, - 210, -1, 209, 100, 210, -1, 3, 227, 149, -1, - -1, 102, 212, -1, 10, -1, 8, -1, 9, -1, - 12, -1, 5, -1, 56, -1, 55, -1, 45, -1, - 3, -1, -1, 214, -1, 93, 215, -1, 214, 100, - 93, 215, -1, 214, 100, 215, -1, 215, -1, 3, - 105, 226, 211, -1, 3, 211, -1, 51, -1, 35, - -1, -1, -1, 190, 27, 216, 3, 122, 213, 133, - 227, 126, 218, 142, 132, -1, 3, -1, -1, -1, - 27, 219, 122, 213, 133, 227, 126, 221, 142, 132, - -1, 3, -1, 185, 127, 3, -1, 223, -1, 222, - -1, 224, -1, 225, 100, 224, -1, 224, -1, 115, - -1, 36, -1, 105, 226, -1, -1, -1, 122, 229, - 133, -1, -1, 230, -1, 231, -1, 237, -1, 230, - 100, -1, 231, 237, -1, -1, 25, 240, 232, 228, - -1, 240, 122, 229, 133, -1, 53, 122, 229, 133, - -1, 63, 240, -1, 42, -1, 42, 238, -1, 240, - -1, 240, -1, 238, 100, 240, -1, 238, -1, 220, - -1, 241, -1, 244, -1, 233, -1, 235, -1, 234, - -1, 6, -1, 10, -1, 11, -1, 8, -1, 9, - -1, 12, -1, 5, -1, 29, -1, 56, -1, 55, - -1, 45, -1, 240, 109, 240, -1, 240, 110, 240, - -1, 240, 75, 240, -1, 240, 76, 240, -1, 240, - 71, 240, -1, 240, 72, 240, -1, 240, 74, 240, - -1, 240, 73, 240, -1, 240, 87, 240, -1, 240, - 88, 240, -1, 118, 240, -1, 117, 240, -1, 240, - 108, 240, -1, 240, 107, 240, -1, 240, 106, 240, - -1, 240, 96, 240, -1, 240, 95, 240, -1, 240, - 94, 240, -1, 240, 114, 240, -1, 240, 116, 240, - -1, 240, 113, 240, -1, 240, 112, 240, -1, 240, - 115, 240, -1, 240, 68, 240, -1, 240, 69, 240, - -1, 240, 40, 240, -1, 240, 67, 240, -1, 43, - 122, 240, 133, -1, 36, 240, -1, 36, -1, 122, - 238, 133, -1, 112, 240, -1, 240, 124, 240, 125, - -1, 124, 229, 125, -1, -1, 243, -1, 237, 105, - 237, -1, 243, 100, 237, 105, 237, -1, 70, 242, - 132, -1, 240, 80, 240, -1, 240, 79, 240, -1, - 240, 85, 240, -1, 240, 84, 240, -1, 240, 86, - 240, -1, 240, 78, 240, -1, 240, 77, 240, -1, - 240, 83, 240, -1, 240, 81, 240, -1, 240, 82, - 240, -1, 240, 102, 240, -1, 240, 104, 240, 105, - 240, -1, 240, 91, -1, 240, 90, -1, 91, 240, - -1, 90, 240, -1, 53, 127, 3, -1, 128, 3, - -1, 240, 127, 128, 3, -1, 240, 127, 3, 89, - 3, -1, 240, 92, 3, -1, 240, 127, 122, 240, - 133, -1, 240, 127, 3, -1, 3, -1, 18, 3, - -1, 18, 3, 102, 3, -1, 18, 3, 102, 5, - -1, 190, 245, -1, 23, 18, 224, -1 + 182, 146, -1, 3, -1, 19, -1, 4, -1, 185, + 127, 184, -1, 184, -1, -1, 19, 185, 126, 187, + 139, 132, -1, -1, 19, 126, 188, 139, 132, -1, + 41, 223, -1, 41, 185, 127, 115, -1, -1, 191, + -1, 192, -1, 191, 192, -1, 21, -1, 22, -1, + 20, -1, 38, -1, 47, -1, 49, -1, 48, -1, + 26, -1, 24, -1, 4, -1, -1, 54, 224, -1, + -1, 54, 225, -1, -1, 17, 225, -1, -1, 190, + 31, 3, 193, 195, 126, 197, 200, 132, -1, -1, + 190, 44, 3, 194, 126, 199, 203, 132, -1, -1, + 201, -1, 202, -1, 201, 202, -1, 99, -1, 148, + 126, 200, 132, -1, 207, -1, 217, -1, 144, -1, + -1, 204, -1, 205, -1, 204, 205, -1, 99, -1, + 46, 3, -1, 190, 27, 216, 3, 122, 213, 133, + 227, -1, 46, -1, 32, -1, -1, 190, 206, 208, + 209, -1, 210, -1, 209, 100, 210, -1, 3, 227, + 149, -1, -1, 102, 212, -1, 10, -1, 8, -1, + 9, -1, 12, -1, 5, -1, 56, -1, 55, -1, + 45, -1, 3, -1, -1, 214, -1, 93, 215, -1, + 214, 100, 93, 215, -1, 214, 100, 215, -1, 215, + -1, 3, 105, 226, 211, -1, 3, 211, -1, 51, + -1, 35, -1, -1, -1, 190, 27, 216, 3, 122, + 213, 133, 227, 126, 218, 142, 132, -1, 3, -1, + -1, -1, 27, 219, 122, 213, 133, 227, 126, 221, + 142, 132, -1, 184, -1, 185, 127, 184, -1, 223, + -1, 222, -1, 224, -1, 225, 100, 224, -1, 224, + -1, 115, -1, 36, -1, 105, 226, -1, -1, -1, + 122, 229, 133, -1, -1, 230, -1, 231, -1, 237, + -1, 230, 100, -1, 231, 237, -1, -1, 25, 240, + 232, 228, -1, 240, 122, 229, 133, -1, 53, 122, + 229, 133, -1, 63, 240, -1, 42, -1, 42, 238, + -1, 240, -1, 240, -1, 238, 100, 240, -1, 238, + -1, 220, -1, 241, -1, 244, -1, 233, -1, 235, + -1, 234, -1, 6, -1, 10, -1, 11, -1, 8, + -1, 9, -1, 12, -1, 5, -1, 29, -1, 56, + -1, 55, -1, 45, -1, 240, 109, 240, -1, 240, + 110, 240, -1, 240, 75, 240, -1, 240, 76, 240, + -1, 240, 71, 240, -1, 240, 72, 240, -1, 240, + 74, 240, -1, 240, 73, 240, -1, 240, 87, 240, + -1, 240, 88, 240, -1, 118, 240, -1, 117, 240, + -1, 240, 108, 240, -1, 240, 107, 240, -1, 240, + 106, 240, -1, 240, 96, 240, -1, 240, 95, 240, + -1, 240, 94, 240, -1, 240, 114, 240, -1, 240, + 116, 240, -1, 240, 113, 240, -1, 240, 112, 240, + -1, 240, 115, 240, -1, 240, 68, 240, -1, 240, + 69, 240, -1, 240, 40, 240, -1, 240, 67, 240, + -1, 43, 122, 240, 133, -1, 36, 240, -1, 36, + -1, 122, 238, 133, -1, 112, 240, -1, 240, 124, + 240, 125, -1, 124, 229, 125, -1, -1, 243, -1, + 237, 105, 237, -1, 243, 100, 237, 105, 237, -1, + 70, 242, 132, -1, 240, 80, 240, -1, 240, 79, + 240, -1, 240, 85, 240, -1, 240, 84, 240, -1, + 240, 86, 240, -1, 240, 78, 240, -1, 240, 77, + 240, -1, 240, 83, 240, -1, 240, 81, 240, -1, + 240, 82, 240, -1, 240, 102, 240, -1, 240, 104, + 240, 105, 240, -1, 240, 91, -1, 240, 90, -1, + 91, 240, -1, 90, 240, -1, 53, 127, 3, -1, + 128, 3, -1, 240, 127, 128, 3, -1, 240, 127, + 3, 89, 3, -1, 240, 92, 3, -1, 240, 127, + 122, 240, 133, -1, 240, 127, 3, -1, 3, -1, + 18, 3, -1, 18, 3, 102, 3, -1, 18, 3, + 102, 5, -1, 190, 245, -1, 23, 18, 224, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { - 0, 2071, 2071, 2073, 2073, 2074, 2075, 2077, 2078, 2079, - 2080, 2081, 2082, 2083, 2084, 2086, 2086, 2087, 2088, 2090, - 2091, 2092, 2093, 2094, 2095, 2096, 2098, 2099, 2101, 2102, - 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113, 2114, - 2115, 2116, 2117, 2118, 2121, 2122, 2123, 2124, 2125, 2126, - 2127, 2128, 2132, 2133, 2137, 2144, 2148, 2149, 2153, 2154, - 2156, 2157, 2159, 2220, 2221, 2224, 2224, 2243, 2244, 2245, - 2250, 2254, 2259, 2260, 2262, 2282, 2330, 2330, 2349, 2349, - 2364, 2367, 2370, 2373, 2377, 2378, 2379, 2380, 2381, 2382, - 2384, 2395, 2398, 2398, 2429, 2429, 2454, 2454, 2470, 2471, - 2472, 2473, 2481, 2490, 2490, 2539, 2543, 2554, 2564, 2581, - 2582, 2584, 2585, 2587, 2587, 2589, 2589, 2592, 2608, 2625, - 2626, 2627, 2628, 2636, 2637, 2638, 2639, 2640, 2641, 2642, - 2643, 2644, 2645, 2649, 2650, 2652, 2653, 2655, 2656, 2660, - 2658, 2666, 2664, 2673, 2674, 2675, 2676, 2677, 2678, 2679, - 2680, 2682, 2688, 2689, 2690, 2691, 2692, 2693, 2696, 2709, - 2709, 2711, 2711, 2713, 2714, 2716, 2791, 2792, 2794, 2795, - 2796, 2797, 2798, 2800, 2801, 2802, 2803, 2815, 2819, 2825, - 2831, 2839, 2844, 2850, 2858, 2866, 2867, 2868, 2871, 2870, - 2887, 2888, 2890, 2889, 2913, 2932, 2946, 2947, 2949, 2950, - 2952, 2953, 2954, 2963, 2964, 2968, 2969, 2971, 2972, 2973, - 2975, 2979, 2980, 2985, 2986, 3022, 3068, 3089, 3110, 3113, - 3120, 3121, 3122, 3128, 3134, 3136, 3138, 3140, 3142, 3144, - 3146, 3163, 3168, 3171, 3174, 3177, 3180, 3183, 3186, 3189, - 3192, 3196, 3199, 3202, 3205, 3208, 3211, 3214, 3217, 3221, - 3232, 3250, 3255, 3260, 3265, 3270, 3275, 3279, 3283, 3288, - 3292, 3296, 3305, 3314, 3324, 3329, 3341, 3347, 3352, 3358, - 3364, 3368, 3370, 3381, 3390, 3397, 3398, 3400, 3406, 3415, - 3422, 3434, 3440, 3446, 3452, 3458, 3464, 3470, 3476, 3489, - 3500, 3507, 3520, 3547, 3561, 3575, 3589, 3604, 3611, 3618, - 3625, 3632, 3643, 3693, 3798, 3805, 3812, 3819, 3826 + 0, 2093, 2093, 2095, 2095, 2096, 2097, 2099, 2100, 2101, + 2102, 2103, 2104, 2105, 2106, 2108, 2108, 2109, 2110, 2112, + 2113, 2114, 2115, 2116, 2117, 2118, 2120, 2121, 2123, 2124, + 2127, 2128, 2129, 2130, 2131, 2132, 2133, 2134, 2135, 2136, + 2137, 2138, 2139, 2140, 2143, 2144, 2145, 2146, 2147, 2148, + 2149, 2150, 2154, 2155, 2159, 2166, 2170, 2171, 2175, 2176, + 2178, 2179, 2181, 2242, 2243, 2246, 2246, 2265, 2266, 2267, + 2272, 2276, 2281, 2282, 2284, 2304, 2352, 2352, 2371, 2371, + 2386, 2389, 2392, 2395, 2399, 2400, 2401, 2402, 2403, 2404, + 2406, 2417, 2420, 2420, 2451, 2451, 2476, 2476, 2492, 2493, + 2494, 2495, 2503, 2512, 2512, 2561, 2565, 2576, 2586, 2603, + 2604, 2605, 2607, 2608, 2610, 2610, 2612, 2612, 2615, 2631, + 2648, 2649, 2650, 2651, 2659, 2660, 2661, 2662, 2663, 2664, + 2665, 2666, 2667, 2668, 2672, 2673, 2675, 2676, 2678, 2679, + 2683, 2681, 2689, 2687, 2696, 2697, 2698, 2699, 2700, 2701, + 2702, 2703, 2705, 2711, 2712, 2713, 2714, 2715, 2716, 2719, + 2732, 2732, 2734, 2734, 2736, 2737, 2739, 2814, 2815, 2817, + 2818, 2819, 2820, 2821, 2823, 2824, 2825, 2826, 2838, 2842, + 2848, 2854, 2862, 2867, 2873, 2881, 2889, 2890, 2891, 2894, + 2893, 2910, 2911, 2913, 2912, 2936, 2955, 2969, 2970, 2972, + 2973, 2975, 2976, 2977, 2986, 2987, 2991, 2992, 2994, 2995, + 2996, 2998, 3002, 3003, 3008, 3009, 3045, 3091, 3112, 3133, + 3136, 3143, 3144, 3145, 3151, 3157, 3159, 3161, 3163, 3165, + 3167, 3169, 3186, 3191, 3194, 3197, 3200, 3203, 3206, 3209, + 3212, 3215, 3219, 3222, 3225, 3228, 3231, 3234, 3237, 3240, + 3244, 3255, 3273, 3278, 3283, 3288, 3293, 3298, 3302, 3306, + 3311, 3315, 3319, 3328, 3337, 3347, 3352, 3364, 3370, 3375, + 3381, 3387, 3391, 3393, 3404, 3413, 3420, 3421, 3423, 3429, + 3438, 3445, 3457, 3463, 3469, 3475, 3481, 3487, 3493, 3499, + 3512, 3523, 3530, 3543, 3570, 3584, 3598, 3612, 3627, 3634, + 3641, 3648, 3655, 3666, 3716, 3821, 3828, 3835, 3842, 3857 }; #endif @@ -2628,26 +2650,26 @@ static const yytype_uint8 yyr1[] = 165, 165, 166, 166, 167, 167, 167, 167, 168, 168, 169, 170, 172, 171, 174, 173, 176, 175, 177, 177, 178, 178, 178, 180, 179, 181, 181, 182, 183, 184, - 184, 185, 185, 187, 186, 188, 186, 189, 189, 190, - 190, 191, 191, 192, 192, 192, 192, 192, 192, 192, - 192, 192, 192, 193, 193, 194, 194, 195, 195, 197, - 196, 199, 198, 200, 200, 201, 201, 202, 202, 202, - 202, 202, 203, 203, 204, 204, 205, 205, 205, 206, - 206, 208, 207, 209, 209, 210, 211, 211, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 213, 213, 213, - 213, 214, 214, 215, 215, 216, 216, 216, 218, 217, - 219, 219, 221, 220, 222, 223, 224, 224, 225, 225, - 226, 226, 226, 227, 227, 228, 228, 229, 229, 229, - 230, 231, 230, 232, 233, 234, 234, 235, 236, 236, - 237, 238, 238, 239, 240, 240, 240, 240, 240, 240, - 240, 241, 241, 241, 241, 241, 241, 241, 241, 241, - 241, 240, 240, 240, 240, 240, 240, 240, 240, 240, + 184, 184, 185, 185, 187, 186, 188, 186, 189, 189, + 190, 190, 191, 191, 192, 192, 192, 192, 192, 192, + 192, 192, 192, 192, 193, 193, 194, 194, 195, 195, + 197, 196, 199, 198, 200, 200, 201, 201, 202, 202, + 202, 202, 202, 203, 203, 204, 204, 205, 205, 205, + 206, 206, 208, 207, 209, 209, 210, 211, 211, 212, + 212, 212, 212, 212, 212, 212, 212, 212, 213, 213, + 213, 213, 214, 214, 215, 215, 216, 216, 216, 218, + 217, 219, 219, 221, 220, 222, 223, 224, 224, 225, + 225, 226, 226, 226, 227, 227, 228, 228, 229, 229, + 229, 230, 231, 230, 232, 233, 234, 234, 235, 236, + 236, 237, 238, 238, 239, 240, 240, 240, 240, 240, + 240, 240, 241, 241, 241, 241, 241, 241, 241, 241, + 241, 241, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 242, 242, 243, 243, 240, + 240, 240, 240, 240, 240, 240, 242, 242, 243, 243, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 244, 245, 245, 245, 246, 247 + 240, 240, 240, 240, 244, 245, 245, 245, 246, 247 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ @@ -2664,26 +2686,26 @@ static const yytype_uint8 yyr2[] = 1, 2, 1, 2, 0, 1, 1, 2, 1, 2, 4, 3, 0, 8, 0, 9, 0, 5, 1, 2, 1, 2, 1, 0, 6, 2, 1, 4, 2, 1, - 1, 3, 1, 0, 6, 0, 5, 2, 4, 0, - 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 0, 2, 0, 2, 0, 2, 0, - 9, 0, 8, 0, 1, 1, 2, 1, 4, 1, - 1, 1, 0, 1, 1, 2, 1, 2, 8, 1, - 1, 0, 4, 1, 3, 3, 0, 2, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 0, 1, 2, - 4, 3, 1, 4, 2, 1, 1, 0, 0, 12, - 1, 0, 0, 10, 1, 3, 1, 1, 1, 3, - 1, 1, 1, 2, 0, 0, 3, 0, 1, 1, - 1, 2, 2, 0, 4, 4, 4, 2, 1, 2, - 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 3, 1, 0, 6, 0, 5, 2, 4, + 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 0, 2, 0, 2, 0, 2, + 0, 9, 0, 8, 0, 1, 1, 2, 1, 4, + 1, 1, 1, 0, 1, 1, 2, 1, 2, 8, + 1, 1, 0, 4, 1, 3, 3, 0, 2, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, + 2, 4, 3, 1, 4, 2, 1, 1, 0, 0, + 12, 1, 0, 0, 10, 1, 3, 1, 1, 1, + 3, 1, 1, 1, 2, 0, 0, 3, 0, 1, + 1, 1, 2, 2, 0, 4, 4, 4, 2, 1, + 2, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 2, 2, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 4, 2, - 1, 3, 2, 4, 3, 0, 1, 3, 5, 3, + 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 2, 2, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, + 2, 1, 3, 2, 4, 3, 0, 1, 3, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 5, 2, 2, 2, 2, 3, 2, 4, 5, - 3, 5, 3, 1, 2, 4, 4, 2, 3 + 3, 3, 5, 2, 2, 2, 2, 3, 2, 4, + 5, 3, 5, 3, 1, 2, 4, 4, 2, 3 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state @@ -2691,749 +2713,739 @@ static const yytype_uint8 yyr2[] = means the default is an error. */ static const yytype_uint16 yydefact[] = { - 119, 303, 132, 236, 230, 233, 234, 231, 232, 235, - 0, 0, 78, 0, 0, 125, 123, 124, 0, 131, - 0, 130, 191, 237, 270, 126, 0, 0, 0, 240, - 127, 129, 128, 0, 0, 239, 238, 0, 0, 275, - 0, 0, 14, 0, 0, 0, 0, 207, 119, 0, - 0, 2, 119, 5, 54, 12, 0, 36, 67, 31, - 32, 33, 34, 35, 38, 119, 37, 7, 30, 0, - 120, 121, 9, 8, 11, 10, 224, 227, 229, 228, - 223, 39, 221, 225, 226, 41, 40, 0, 0, 72, - 76, 119, 92, 109, 110, 115, 112, 0, 0, 303, - 213, 190, 0, 269, 0, 0, 117, 0, 103, 207, - 0, 217, 65, 0, 220, 0, 276, 295, 294, 272, - 252, 251, 0, 0, 208, 209, 210, 82, 0, 106, - 218, 0, 80, 44, 43, 119, 45, 29, 0, 46, - 47, 48, 50, 0, 49, 297, 1, 6, 119, 303, - 0, 68, 0, 0, 69, 53, 108, 0, 187, 0, - 160, 0, 159, 161, 307, 122, 0, 0, 0, 0, + 120, 304, 133, 237, 231, 234, 235, 232, 233, 236, + 0, 0, 78, 0, 0, 126, 124, 125, 0, 132, + 0, 131, 192, 238, 271, 127, 0, 0, 0, 241, + 128, 130, 129, 0, 0, 240, 239, 0, 0, 276, + 0, 0, 14, 0, 0, 0, 0, 208, 120, 0, + 0, 2, 120, 5, 54, 12, 0, 36, 67, 31, + 32, 33, 34, 35, 38, 120, 37, 7, 30, 0, + 121, 122, 9, 8, 11, 10, 225, 228, 230, 229, + 224, 39, 222, 226, 227, 41, 40, 0, 0, 72, + 76, 120, 92, 109, 111, 110, 116, 113, 0, 0, + 304, 214, 191, 0, 270, 0, 0, 118, 0, 103, + 208, 0, 218, 65, 0, 221, 0, 277, 296, 295, + 273, 253, 252, 0, 0, 209, 210, 211, 82, 0, + 106, 219, 0, 80, 44, 43, 120, 45, 29, 0, + 46, 47, 48, 50, 0, 49, 298, 1, 6, 120, + 304, 0, 68, 0, 0, 69, 53, 108, 0, 188, + 0, 161, 0, 160, 162, 308, 123, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 293, - 292, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, - 55, 73, 0, 0, 0, 119, 113, 0, 194, 0, - 197, 196, 308, 205, 177, 0, 0, 0, 27, 0, - 296, 0, 0, 279, 0, 271, 274, 211, 212, 83, - 204, 59, 60, 105, 219, 58, 81, 42, 28, 119, - 0, 204, 0, 0, 52, 304, 186, 185, 0, 133, - 135, 0, 222, 266, 267, 264, 265, 245, 246, 248, - 247, 243, 244, 286, 285, 281, 280, 288, 289, 287, - 283, 282, 284, 249, 250, 300, 258, 257, 256, 290, - 0, 255, 254, 253, 241, 242, 262, 261, 259, 263, - 260, 0, 0, 302, 0, 0, 0, 0, 0, 25, - 0, 119, 17, 23, 0, 20, 19, 22, 21, 119, - 111, 0, 207, 214, 166, 0, 0, 178, 182, 107, - 195, 118, 268, 0, 26, 216, 0, 277, 0, 0, - 57, 0, 119, 13, 57, 0, 0, 0, 0, 0, - 137, 0, 0, 204, 162, 163, 0, 215, 273, 0, - 0, 298, 119, 0, 0, 116, 18, 119, 0, 0, - 0, 0, 184, 179, 204, 0, 0, 119, 0, 202, - 201, 200, 203, 0, 62, 61, 51, 0, 119, 305, - 306, 177, 134, 0, 0, 198, 136, 141, 57, 0, - 291, 299, 301, 77, 0, 84, 0, 114, 206, 176, - 172, 169, 170, 168, 171, 175, 174, 173, 167, 166, - 0, 0, 181, 0, 0, 98, 102, 100, 104, 63, - 278, 56, 0, 75, 0, 138, 139, 0, 119, 165, - 164, 79, 0, 0, 0, 85, 88, 86, 24, 183, - 192, 180, 96, 0, 99, 101, 119, 66, 119, 204, - 119, 199, 0, 156, 0, 0, 119, 154, 0, 27, - 93, 89, 87, 27, 27, 204, 64, 74, 0, 147, - 151, 0, 0, 0, 119, 145, 149, 150, 157, 187, - 142, 155, 27, 91, 0, 0, 0, 188, 119, 140, - 146, 0, 90, 193, 97, 94, 27, 0, 0, 0, - 0, 148, 177, 27, 189, 0, 0, 204, 95, 158 + 294, 293, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 208, 0, + 0, 55, 73, 0, 0, 0, 120, 114, 0, 195, + 0, 198, 197, 309, 206, 178, 0, 0, 0, 27, + 0, 297, 0, 0, 280, 0, 272, 275, 212, 213, + 83, 205, 59, 60, 105, 220, 58, 81, 42, 28, + 120, 0, 205, 0, 0, 52, 305, 187, 186, 0, + 134, 136, 0, 223, 267, 268, 265, 266, 246, 247, + 249, 248, 244, 245, 287, 286, 282, 281, 289, 290, + 288, 284, 283, 285, 250, 251, 301, 259, 258, 257, + 291, 0, 256, 255, 254, 242, 243, 263, 262, 260, + 264, 261, 0, 0, 303, 0, 0, 0, 0, 0, + 25, 0, 120, 17, 23, 0, 20, 19, 22, 21, + 120, 112, 0, 208, 215, 167, 0, 0, 179, 183, + 107, 119, 196, 269, 0, 26, 217, 0, 278, 0, + 0, 57, 0, 120, 13, 57, 0, 0, 0, 0, + 0, 138, 0, 0, 205, 163, 164, 0, 216, 274, + 0, 0, 299, 120, 0, 0, 117, 18, 120, 0, + 0, 0, 0, 185, 180, 205, 0, 0, 120, 0, + 203, 202, 201, 204, 0, 62, 61, 51, 0, 120, + 306, 307, 178, 135, 0, 0, 199, 137, 142, 57, + 0, 292, 300, 302, 77, 0, 84, 0, 115, 207, + 177, 173, 170, 171, 169, 172, 176, 175, 174, 168, + 167, 0, 0, 182, 0, 0, 98, 102, 100, 104, + 63, 279, 56, 0, 75, 0, 139, 140, 0, 120, + 166, 165, 79, 0, 0, 0, 85, 88, 86, 24, + 184, 193, 181, 96, 0, 99, 101, 120, 66, 120, + 205, 120, 200, 0, 157, 0, 0, 120, 155, 0, + 27, 93, 89, 87, 27, 27, 205, 64, 74, 0, + 148, 152, 0, 0, 0, 120, 146, 150, 151, 158, + 188, 143, 156, 27, 91, 0, 0, 0, 189, 120, + 141, 147, 0, 90, 194, 97, 94, 27, 0, 0, + 0, 0, 149, 178, 27, 190, 0, 0, 205, 95, + 159 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { - -1, 50, 51, 52, 53, 310, 311, 312, 333, 334, - 136, 137, 156, 313, 138, 384, 139, 245, 242, 457, - 57, 231, 152, 153, 58, 59, 60, 61, 212, 62, - 91, 140, 141, 444, 445, 446, 447, 63, 214, 425, - 509, 426, 474, 427, 428, 64, 228, 142, 65, 66, - 96, 219, 67, 319, 215, 68, 143, 70, 71, 350, - 352, 394, 315, 460, 316, 438, 483, 484, 485, 465, - 466, 467, 163, 317, 261, 354, 355, 372, 418, 326, - 327, 328, 258, 318, 506, 102, 76, 473, 220, 221, - 381, 396, 382, 340, 323, 123, 124, 125, 223, 77, - 78, 79, 144, 126, 80, 81, 82, 83, 115, 116, - 84, 164, 85, 86 + -1, 50, 51, 52, 53, 311, 312, 313, 334, 335, + 137, 138, 157, 314, 139, 385, 140, 246, 243, 458, + 57, 232, 153, 154, 58, 59, 60, 61, 213, 62, + 91, 141, 142, 445, 446, 447, 448, 63, 215, 426, + 510, 427, 475, 428, 429, 64, 229, 143, 65, 66, + 219, 220, 67, 320, 216, 68, 144, 70, 71, 351, + 353, 395, 316, 461, 317, 439, 484, 485, 486, 466, + 467, 468, 164, 318, 262, 355, 356, 373, 419, 327, + 328, 329, 259, 319, 507, 103, 76, 474, 221, 222, + 382, 397, 383, 341, 324, 124, 125, 126, 224, 77, + 78, 79, 145, 127, 80, 81, 82, 83, 116, 117, + 84, 165, 85, 86 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ -#define YYPACT_NINF -388 +#define YYPACT_NINF -403 static const yytype_int16 yypact[] = { - 1673, -42, -388, -388, -388, -388, -388, -388, -388, -388, - -29, -72, -388, -47, 16, -388, -388, -388, 74, -388, - 2093, -388, 64, -388, 2163, -388, -24, 42, 25, -388, - -388, -388, -388, -1, 5, -388, -388, 2093, 56, 2093, - 2093, 2093, -388, 2093, 2093, 2093, 2093, 2093, 633, 110, - 144, -388, 503, -388, -388, -388, 50, -388, 2023, -388, - -388, -388, -388, -388, -388, 1925, -388, -388, -388, 97, - 233, -388, -388, -388, -388, -388, -388, -388, -388, -388, - 104, -388, 2568, -388, -388, -388, -388, 196, 84, -388, - -388, 1925, -388, -388, -388, -388, -388, 85, 70, -388, - -59, -388, 91, 237, 2093, 87, -388, 2093, -388, 2093, - 225, 237, -388, 130, 2568, 106, 139, 237, 237, 174, - 237, 237, -61, 121, 147, 2093, -388, 245, 253, 2093, - 2093, 253, 255, -388, -388, 763, -388, -388, 135, -388, - -388, -388, -388, 249, -388, -388, -388, -388, 1023, 195, - 265, -388, 170, 202, -388, 173, -388, 270, 72, 271, - -388, 272, -388, -388, -388, -388, 2093, 2093, 2093, 2093, - 2093, 2093, 2093, 2093, 2093, 2093, 2093, 2093, 2093, 2093, - 2093, 2093, 2093, 2093, 2093, 2093, 2093, 2093, 2093, -388, - -388, 273, 2093, 2093, 2093, 2093, 2093, 2093, 2093, 2093, - 2093, 2093, 2093, 2093, 2093, 2093, 2093, 2093, 2093, 11, - -388, -388, 2093, 269, 2093, 1153, -388, 42, 157, 158, - -388, -388, -388, 164, 13, -57, 19, 2188, 1799, 160, - -388, 2093, 2093, -388, 2093, -388, -388, -388, -388, -388, - 189, 197, -388, 104, 104, 197, -388, -388, -388, 1925, - 163, 189, 2093, 2093, -388, 198, -388, -388, 296, 251, - 252, 305, 2568, 301, 495, 495, 495, 2934, 2934, 2934, - 2934, 301, 301, 2568, 2568, 2568, 2568, 2568, 2568, 2568, - 2568, 2568, 2568, 2629, 2690, -388, 118, 118, 118, 2568, - 2385, 2751, 2812, 2873, 301, 301, 174, 174, 237, 237, - 237, 177, 2446, 226, 2093, 311, -56, 194, 2259, -388, - 185, 1283, -388, -388, 192, -388, -388, -388, -388, 1153, - -388, 119, 2093, -388, 100, 320, 191, 230, -388, -388, - 157, -388, -388, 193, 1799, -388, -54, -388, 221, 22, - 229, 253, 893, -388, -28, 31, -16, 99, 210, 70, - 317, 70, 212, 189, 236, -388, 2093, -388, -388, 339, - 2322, -388, 1925, 2093, 213, -388, -388, 1153, 214, 217, - 54, 22, -388, -388, 189, 15, 112, 1925, 2093, -388, - -388, -388, -388, 2093, -388, -388, -388, 2093, 1925, -388, - -388, 13, -388, 70, 219, -388, 247, -388, 229, 305, - 2568, -388, -388, -388, -15, 26, 220, -388, -388, -388, - -388, -388, -388, -388, -388, -388, -388, -388, -388, 261, - 227, 320, -388, 240, 250, -388, -388, 112, -388, 286, - -388, -388, 222, -388, 242, 247, -388, 70, 203, -388, - -388, -388, 2093, 274, 246, 26, -388, -388, -388, -388, - -388, -388, -388, 377, -388, -388, 1925, -388, 1925, 189, - 1413, -388, 378, -388, 359, 256, 336, -388, 2507, 1799, - -388, -388, -388, 1799, 1799, 189, -388, -388, 263, -388, - -388, 264, 51, 262, 1543, -388, -388, -388, -388, 72, - -388, -388, 1799, -388, 266, 267, 254, -388, 1413, -388, - -388, 397, -388, -388, -388, -388, 1799, 275, 280, 278, - 276, -388, 13, 1799, -388, 279, 277, 189, -388, -388 + 1674, -70, -403, -403, -403, -403, -403, -403, -403, -403, + -15, -72, -403, -52, 19, -403, -403, -403, 80, -403, + 2094, -403, 99, -403, 2164, -403, -16, 42, -5, -403, + -403, -403, -403, -1, 5, -403, -403, 2094, 13, 2094, + 2094, 2094, -403, 2094, 2094, 2094, 2094, 2094, 634, 123, + 128, -403, 504, -403, -403, -403, 8, -403, 2024, -403, + -403, -403, -403, -403, -403, 1926, -403, -403, -403, 240, + 361, -403, -403, -403, -403, -403, -403, -403, -403, -403, + 38, -403, 2569, -403, -403, -403, -403, 137, 20, -403, + -403, 1926, -403, -403, -403, -403, -403, -403, -87, 42, + -403, -67, -403, 21, -48, 2094, 79, -403, 2094, -403, + 2094, 138, -48, -403, 43, 2569, 76, 107, -48, -48, + 604, -48, -48, -29, 84, 110, 2094, -403, 210, 211, + 2094, 2094, 211, 212, -403, -403, 764, -403, -403, 85, + -403, -403, -403, -403, 209, -403, -403, -403, -403, 1024, + 158, 232, -403, 139, 171, -403, 141, -403, 238, 12, + 239, -403, 247, -403, -403, -403, -403, 2094, 2094, 2094, + 2094, 2094, 2094, 2094, 2094, 2094, 2094, 2094, 2094, 2094, + 2094, 2094, 2094, 2094, 2094, 2094, 2094, 2094, 2094, 2094, + -403, -403, 249, 2094, 2094, 2094, 2094, 2094, 2094, 2094, + 2094, 2094, 2094, 2094, 2094, 2094, 2094, 2094, 2094, 2094, + 11, -403, -403, 2094, 229, 2094, 1154, -403, 42, 133, + 135, -403, -403, -403, 142, 15, -10, 90, 2189, 1800, + 130, -403, 2094, 2094, -403, 2094, -403, -403, -403, -403, + -403, 161, 169, -403, 38, 38, 169, -403, -403, -403, + 1926, 149, 161, 2094, 2094, -403, 168, -403, -403, 280, + 231, 233, 286, 2569, 1016, 496, 496, 496, 322, 322, + 322, 322, 1016, 1016, 2569, 2569, 2569, 2569, 2569, 2569, + 2569, 2569, 2569, 2569, 2630, 2691, -403, 368, 368, 368, + 2569, 2386, 2752, 2813, 2874, 1016, 1016, 604, 604, -48, + -48, -48, 157, 2447, 202, 2094, 291, 14, 173, 2260, + -403, 165, 1284, -403, -403, 172, -403, -403, -403, -403, + 1154, -403, 42, 2094, -403, -43, 296, 167, 201, -403, + -403, -403, 175, -403, 174, 1800, -403, 44, -403, 200, + 63, 207, 211, 894, -403, -27, -11, 46, 113, 189, + 42, 298, 42, 190, 161, 217, -403, 2094, -403, -403, + 315, 2323, -403, 1926, 2094, 193, -403, -403, 1154, 192, + 194, 75, 63, -403, -403, 161, 26, 96, 1926, 2094, + -403, -403, -403, -403, 2094, -403, -403, -403, 2094, 1926, + -403, -403, 15, -403, 42, 199, -403, 230, -403, 207, + 286, 2569, -403, -403, -403, 103, 24, 197, -403, -403, + -403, -403, -403, -403, -403, -403, -403, -403, -403, -403, + 234, 205, 296, -403, 206, 213, -403, -403, 96, -403, + 268, -403, -403, 204, -403, 215, 230, -403, 42, 208, + -403, -403, -403, 2094, 236, 214, 24, -403, -403, -403, + -403, -403, -403, -403, 335, -403, -403, 1926, -403, 1926, + 161, 1414, -403, 339, -403, 316, 219, 227, -403, 2508, + 1800, -403, -403, -403, 1800, 1800, 161, -403, -403, 223, + -403, -403, 226, 250, 221, 1544, -403, -403, -403, -403, + 12, -403, -403, 1800, -403, 222, 224, 225, -403, 1414, + -403, -403, 354, -403, -403, -403, -403, 1800, 228, 241, + 235, 243, -403, 15, 1800, -403, 244, 246, 161, -403, + -403 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { - -388, -388, 257, -388, 354, -296, -388, 107, -387, -31, - 1, -55, -85, 29, 2, 21, 362, 293, 81, -388, - -388, -388, -388, -388, -388, -388, -388, -388, -388, -388, - -388, -388, -388, -388, -388, -21, -19, -388, -388, 6, - -388, 7, -388, -388, -388, -388, -388, -388, -388, -388, - -175, 76, -388, -388, -388, -388, 0, -388, 357, -388, - -388, -388, 48, -388, 49, -388, -68, -388, -53, -388, - -388, -30, -388, 3, -388, -388, 33, 18, -388, -376, - -388, -305, -49, 4, -388, -388, -388, -388, -388, 412, - -89, 52, 71, -239, -388, -96, -388, -388, -388, -388, - -388, -388, -388, -34, -9, -50, -13, -388, -388, -388, - -388, -388, -388, -388 + -403, -403, 218, -403, 312, -299, -403, 61, -402, -31, + 1, -55, -85, 48, 2, -23, 321, 251, 58, -403, + -403, -403, -403, -403, -403, -403, -403, -403, -403, -403, + -403, -403, -403, -403, -403, -62, -60, -403, -403, -40, + -403, -36, -403, -403, -403, -403, -403, -403, -403, -403, + 6, 50, -403, -403, -403, -403, 0, -403, 331, -403, + -403, -403, 49, -403, 51, -403, -96, -403, -80, -403, + -403, -61, -403, 3, -403, -403, 7, 9, -403, -376, + -403, -311, -79, 4, -403, -403, -403, -403, -403, 388, + -91, 25, 52, -239, -403, -98, -403, -403, -403, -403, + -403, -403, -403, -34, -9, -49, -13, -403, -403, -403, + -403, -403, -403, -403 }; /* 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 -154 +#define YYTABLE_NINF -155 static const yytype_int16 yytable[] = { - 69, 54, 56, 74, 75, 113, 213, 100, 154, 222, - 155, 103, 344, 229, 303, 434, 324, 135, 324, 93, - 373, 88, 330, 368, 111, 218, 114, 117, 118, 55, - 119, 120, 121, 191, 114, 94, 155, 122, 94, 166, - -70, 94, 320, 166, 166, 93, 166, 87, 72, 73, - 90, 320, 69, 54, 56, 74, 75, 409, 379, 410, - 442, 94, 411, 412, 413, 208, 414, 101, 209, 157, - 422, 406, 235, 218, 383, 92, 329, 362, 158, 377, - 248, 55, 493, 160, 166, 166, 494, 495, 443, 94, - 97, 238, 98, 89, 227, 225, 114, 162, 104, 415, - 72, 73, 389, 105, 390, 502, 325, 256, 421, 416, - 417, 301, 114, 145, 398, 157, 451, 388, 441, 510, - 243, 244, 330, 257, 158, 108, 516, 109, 159, 160, - 387, 166, 110, 304, 331, 420, 515, 380, 94, 305, - 423, 161, 95, 162, 146, 424, 320, 107, 69, 54, - 56, 74, 75, 262, 263, 264, 265, 266, 267, 268, + 69, 54, 56, 74, 75, 114, 214, 101, 223, 155, + 156, 104, 230, 345, 304, 374, 435, 136, 325, 87, + 97, 369, 93, 94, 112, 192, 115, 118, 119, 325, + 120, 121, 122, 97, 115, 88, 156, 123, 95, 217, + 218, -70, 190, 191, 192, 93, 94, 257, 55, 72, + 90, 73, 69, 54, 56, 74, 75, 209, 443, 371, + 210, 95, 372, 258, 98, 423, 93, 94, 494, 407, + 92, 167, 495, 496, 208, 384, 209, 106, 410, 210, + 411, 249, 95, 412, 413, 414, 444, 415, 388, 167, + 167, 503, 239, 93, 94, 228, 226, 115, 99, 380, + 55, 72, 102, 73, 236, 511, 105, 89, 326, 95, + 302, 452, 517, 115, 167, 399, 390, 108, 391, 422, + 416, 244, 245, 330, 424, 109, 146, 110, 147, 425, + 417, 418, 111, 305, 149, 113, 421, 516, 167, 306, + 211, 231, 212, 225, 167, 96, 167, 363, 233, 69, + 54, 56, 74, 75, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, - 279, 280, 281, 282, 283, 284, 148, 55, 112, 286, + 279, 280, 281, 282, 283, 284, 285, 378, 381, 389, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 299, 300, 114, 302, 72, 73, 337, 210, - 338, 308, 370, 306, 166, 371, 211, 2, 189, 190, - 191, 216, 217, 224, 226, 69, 54, 314, 342, 114, - 478, 114, 336, 15, 16, 17, 369, 19, 230, 21, - 202, 203, 204, 205, 206, 232, 496, 2, 233, 234, - 207, 25, 208, 345, 346, 209, 236, 237, 239, 462, - 30, 31, 32, 15, 16, 17, 240, 19, 246, 21, - 392, 249, 395, -71, 189, 190, 191, 157, 251, 252, - 253, 25, 254, 255, 259, 260, 285, 403, 519, 248, - 30, 31, 32, 307, -109, 321, 322, 248, 204, 205, - 206, 360, 429, 335, 339, 343, 207, 341, 208, 348, - 347, 209, 463, 433, 395, 349, 351, 155, 353, 114, - 357, 69, 54, 314, 361, 359, 363, 365, 367, 69, - 54, 314, 155, 324, 374, 376, 378, 189, 190, 191, - 375, 383, 391, 155, 393, -152, 399, 432, 397, 405, - 2, -154, 401, 400, 430, 436, 407, 437, 461, 431, - 408, 456, 448, 450, 404, 458, 15, 16, 17, 207, - 19, 208, 21, 370, 209, 114, 452, 69, 54, 314, - 114, 476, 453, 477, 25, 459, -154, -154, 470, 469, - 475, 488, 462, 30, 31, 32, 489, 505, 490, 497, - 498, 189, 190, 191, 499, 192, 193, 194, 503, 504, - 508, 155, 512, 155, 513, 250, 147, 511, 514, 518, - -154, -154, 517, 202, 203, 204, 205, 206, 366, 439, - 151, 241, 385, 207, 471, 208, 472, 165, 209, 468, - 507, 500, 440, 454, 455, 463, 491, 449, 464, 106, - 501, 0, 419, 0, 0, 435, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 482, 480, 481, 486, 487, 0, 464, 0, -153, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 482, 480, 481, 486, 487, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 482, 480, - 481, 486, 487, -4, 0, 0, 1, 2, 3, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 0, 0, 14, 15, 16, 17, 18, 19, 20, 21, - 0, 0, 23, 0, 0, 167, 0, 0, 0, 24, - 0, 25, 26, 0, 27, 0, 28, 0, 29, 0, - 30, 31, 32, 0, 0, 33, 34, 0, 35, 36, - 0, 0, -154, -154, -154, 0, 37, 38, 0, 0, - 175, 176, 0, 39, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 189, 190, 191, 0, 192, - 193, 194, 0, 40, 41, 0, 0, 0, 0, 0, - 0, 0, 42, 0, 200, 201, 0, 202, 203, 204, - 205, 206, 0, 0, 0, 43, 0, 207, 0, 208, - 44, 45, 209, 0, 0, 46, 0, 47, 0, 48, - 0, 49, 0, 0, 0, -4, 1, 2, 3, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 0, 0, 0, 15, 16, 17, 18, 19, 20, 21, - 22, 0, 23, 127, 0, 128, 0, 0, 0, 24, - 129, 25, 26, 0, 27, 130, 28, 0, 29, 131, - 30, 31, 32, 0, 0, 33, 34, 0, 35, 36, - 0, 0, 0, 0, 0, 0, 37, 38, 0, 132, - 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, + 297, 298, 299, 300, 301, 115, 303, 55, 72, 338, + 73, 339, 309, 167, 307, 331, 227, 235, 234, 237, + 238, 250, 2, 240, 241, 247, 69, 54, 315, 343, + 115, 479, 115, 337, 321, 370, -71, 158, 15, 16, + 17, 2, 19, 332, 21, 252, 442, 497, 253, 254, + 255, 256, 260, 308, 346, 347, 25, 15, 16, 17, + 261, 19, 286, 21, 463, 30, 31, 32, 158, 393, + -113, 396, 322, 336, 323, 25, 340, 159, 158, 342, + 348, 160, 161, 463, 30, 31, 32, 159, 404, 520, + 249, 344, 161, 349, 162, 350, 163, 352, 249, 354, + 358, 360, 361, 430, 362, 364, 163, 366, 368, 325, + 375, 376, -112, 396, 434, 379, 377, 464, 156, 384, + 115, 392, 69, 54, 315, 394, 398, 400, 402, 406, + 69, 54, 315, 156, 408, 437, 464, 409, 332, 449, + 438, 451, 453, 457, 156, 454, 371, 459, 476, 433, + -153, 470, 489, 490, 401, 431, 471, 462, 460, 498, + 432, 491, 499, 500, 504, 405, 505, 509, 506, -154, + 512, 514, 168, 513, 148, 2, 115, 251, 69, 54, + 315, 115, 477, 367, 478, 515, 440, 518, 519, 152, + 242, 15, 16, 17, 472, 19, 473, 21, 455, 169, + 170, 171, 456, -155, -155, -155, -155, 176, 177, 25, + 386, 166, 156, 508, 156, 501, 492, 441, 30, 31, + 32, 502, 190, 191, 192, 107, 193, 194, 195, 436, + 0, 0, 0, 0, 420, 0, 0, 0, 0, 450, + 469, 201, 202, 0, 203, 204, 205, 206, 207, 465, + 0, 0, 0, 0, 208, 0, 209, 0, 0, 210, + 0, 0, 0, 0, 0, 0, 0, 0, 190, 191, + 192, 483, 481, 482, 487, 488, 0, 465, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 0, 0, - 0, 0, 133, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 43, 0, 0, 0, 0, - 44, 45, 0, 0, 0, 46, 0, 47, 0, 48, - 0, 49, 0, 0, 0, 134, 1, 2, 3, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 0, 0, 0, 15, 16, 17, 18, 19, 20, 21, - 22, 0, 23, 127, 0, 128, 0, 0, 0, 24, - 129, 25, 26, 0, 27, 130, 28, 0, 29, 131, - 30, 31, 32, 0, 0, 33, 34, 0, 35, 36, - 0, 0, 0, 0, 0, 0, 37, 38, 0, 132, - 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, + 203, 204, 205, 206, 207, 483, 481, 482, 487, 488, + 208, 0, 209, 0, 0, 210, 0, 0, 0, 483, + 481, 482, 487, 488, -4, 0, 0, 1, 2, 3, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 0, 0, 14, 15, 16, 17, 18, 19, 20, + 21, 0, 0, 23, 0, 0, 168, 0, 0, 0, + 24, 0, 25, 26, 0, 27, 0, 28, 0, 29, + 0, 30, 31, 32, 0, 0, 33, 34, 0, 35, + 36, 0, 0, -155, -155, -155, 0, 37, 38, 0, + 0, 176, 177, 0, 39, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 190, 191, 192, 0, + 193, 194, 195, 0, 40, 41, 0, 0, 0, 0, + 0, 0, 0, 42, 0, 201, 202, 0, 203, 204, + 205, 206, 207, 0, 0, 0, 43, 0, 208, 0, + 209, 44, 45, 210, 0, 0, 46, 0, 47, 0, + 48, 0, 49, 0, 0, 0, -4, 1, 2, 3, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 0, 0, 0, 15, 16, 17, 18, 19, 20, + 21, 22, 0, 23, 128, 0, 129, 0, 0, 0, + 24, 130, 25, 26, 0, 27, 131, 28, 0, 29, + 132, 30, 31, 32, 0, 0, 33, 34, 0, 35, + 36, 0, 0, 0, 190, 191, 192, 37, 38, 0, + 133, 0, 0, 0, 39, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 205, 206, + 207, 0, 0, 0, 40, 41, 208, 0, 209, 0, + 0, 210, 0, 134, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 43, 0, 0, 0, + 0, 44, 45, 0, 0, 0, 46, 0, 47, 0, + 48, 0, 49, 0, 0, 0, 135, 1, 2, 3, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 0, 0, 0, 15, 16, 17, 18, 19, 20, + 21, 22, 0, 23, 128, 0, 129, 0, 0, 0, + 24, 130, 25, 26, 0, 27, 131, 28, 0, 29, + 132, 30, 31, 32, 0, 0, 33, 34, 0, 35, + 36, 0, 0, 0, 0, 0, 0, 37, 38, 0, + 133, 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 0, 0, - 0, 0, 133, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 43, 0, 0, 0, 0, - 44, 45, 0, 0, 0, 46, 0, 47, 0, 48, - 0, 49, 0, 0, 0, 247, 1, 2, 3, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 0, 0, 0, 15, 16, 17, 18, 19, 20, 21, - 22, 0, 23, 127, 0, 128, 0, 0, 0, 24, - 129, 25, 26, 0, 27, 130, 28, 0, 29, 131, - 30, 31, 32, 0, 0, 33, 34, 0, 35, 36, - 0, 0, 0, 0, 0, 0, 37, 38, 0, 132, - 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 40, 41, 0, 0, 0, 0, + 0, 0, 0, 134, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 43, 0, 0, 0, + 0, 44, 45, 0, 0, 0, 46, 0, 47, 0, + 48, 0, 49, 0, 0, 0, 248, 1, 2, 3, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 0, 0, 0, 15, 16, 17, 18, 19, 20, + 21, 22, 0, 23, 128, 0, 129, 0, 0, 0, + 24, 130, 25, 26, 0, 27, 131, 28, 0, 29, + 132, 30, 31, 32, 0, 0, 33, 34, 0, 35, + 36, 0, 0, 0, 0, 0, 0, 37, 38, 0, + 133, 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 0, 0, - 0, 0, 133, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 43, 0, 0, 0, 0, - 44, 45, 0, 0, 0, 46, 0, 47, 0, 48, - 0, 49, 0, 0, 0, 386, 1, 2, 3, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 0, 0, 14, 15, 16, 17, 18, 19, 20, 21, - 0, 0, 23, 0, 0, 0, 0, 0, 0, 24, - 0, 25, 26, 0, 27, 0, 28, 0, 29, 0, - 30, 31, 32, 0, 0, 33, 34, 0, 35, 36, - 0, 0, 0, 0, 0, 0, 37, 38, 0, 0, - 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 40, 41, 0, 0, 0, 0, + 0, 0, 0, 134, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 43, 0, 0, 0, + 0, 44, 45, 0, 0, 0, 46, 0, 47, 0, + 48, 0, 49, 0, 0, 0, 387, 1, 2, 3, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 0, 0, 14, 15, 16, 17, 18, 19, 20, + 21, 0, 0, 23, 0, 0, -155, 0, 0, 0, + 24, 0, 25, 26, 0, 27, 0, 28, 0, 29, + 0, 30, 31, 32, 0, 0, 33, 34, 0, 35, + 36, 0, 0, 0, 0, 0, 0, 37, 38, 0, + 0, -155, -155, 0, 39, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 190, 191, 192, 0, + 193, 194, 195, 0, 40, 41, 0, 0, 0, 0, + 0, 0, 0, 42, 0, -155, -155, 0, 203, 204, + 205, 206, 207, 0, 0, 0, 43, 0, 208, 0, + 209, 44, 45, 210, 0, 0, 46, 0, 47, 0, + 48, 0, 49, 0, 0, 0, -3, 1, 2, 3, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 0, 0, 0, 15, 16, 17, 18, 19, 20, + 21, 0, 0, 23, 0, 0, 0, 0, 0, 0, + 24, 0, 25, 26, 0, 27, 0, 28, 0, 29, + 0, 30, 31, 32, 0, 0, 33, 34, 0, 35, + 36, 0, 0, 0, 0, 0, 0, 37, 38, 0, + 0, 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 0, 0, - 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 43, 0, 0, 0, 0, - 44, 45, 0, 0, 0, 46, 0, 47, 0, 48, - 0, 49, 0, 0, 0, -3, 1, 2, 3, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 0, 0, 0, 15, 16, 17, 18, 19, 20, 21, - 0, 0, 23, 0, 0, 0, 0, 0, 0, 24, - 0, 25, 26, 0, 27, 0, 28, 0, 29, 0, - 30, 31, 32, 0, 0, 33, 34, 0, 35, 36, - 0, 0, 0, 0, 0, 0, 37, 38, 0, 0, - 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 40, 41, 0, 0, 0, 0, + 0, 0, 0, 310, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 43, 0, 0, 0, + 0, 44, 45, 0, 0, 0, 46, 0, 47, 0, + 48, 0, 49, 0, 0, 0, -15, 1, 2, 3, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 0, 0, 0, 15, 16, 17, 18, 19, 20, + 21, 0, 0, 23, 0, 0, 0, 0, 0, 0, + 24, 0, 25, 26, 0, 27, 0, 28, 0, 29, + 0, 30, 31, 32, 0, 0, 33, 34, 0, 35, + 36, 0, 0, 0, 0, 0, 0, 37, 38, 0, + 0, 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 0, 0, - 0, 0, 309, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 43, 0, 0, 0, 0, - 44, 45, 0, 0, 0, 46, 0, 47, 0, 48, - 0, 49, 0, 0, 0, -15, 1, 2, 3, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 0, 0, 0, 15, 16, 17, 18, 19, 20, 21, - 0, 0, 23, 0, 0, 0, 0, 0, 0, 24, - 0, 25, 26, 0, 27, 0, 28, 0, 29, 0, - 30, 31, 32, 0, 0, 33, 34, 0, 35, 36, - 0, 0, 0, 0, 0, 0, 37, 38, 0, 0, - 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 40, 41, 0, 0, 0, 0, + 0, 0, 0, 310, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 43, 0, 0, 0, + 0, 44, 45, 0, 0, 0, 46, 0, 47, 0, + 48, 0, 49, 0, 0, 0, -16, 1, 2, 3, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 0, 0, 0, 15, 16, 17, 18, 19, 20, + 21, 0, 0, 23, 0, 0, 0, 0, 0, 0, + 24, 0, 25, 26, 0, 27, 0, 28, 0, 29, + 0, 30, 31, 32, 0, 0, 33, 34, 0, 35, + 36, 0, 0, 0, 0, 0, 0, 37, 38, 0, + 0, 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 0, 0, - 0, 0, 309, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 43, 0, 0, 0, 0, - 44, 45, 0, 0, 0, 46, 0, 47, 0, 48, - 0, 49, 0, 0, 0, -16, 1, 2, 3, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 0, 0, 0, 15, 16, 17, 18, 19, 20, 21, - 0, 0, 23, 0, 0, 0, 0, 0, 0, 24, - 0, 25, 26, 0, 27, 0, 28, 0, 29, 0, - 30, 31, 32, 0, 0, 33, 34, 0, 35, 36, - 0, 0, 0, 0, 0, 0, 37, 38, 0, 0, - 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 40, 41, 0, 0, 0, 0, + 0, 0, 0, 480, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 43, 0, 0, 0, + 0, 44, 45, 0, 0, 0, 46, 0, 47, 0, + 48, 0, 49, 0, 0, 0, -144, 1, 2, 3, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 0, 0, 0, 15, 16, 17, 18, 19, 20, + 21, 0, 0, 23, 0, 0, 0, 0, 0, 0, + 24, 0, 25, 26, 0, 27, 0, 28, 0, 29, + 0, 30, 31, 32, 0, 0, 33, 34, 0, 35, + 36, 0, 0, 0, 0, 0, 0, 37, 38, 0, + 0, 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 0, 0, - 0, 0, 479, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 43, 0, 0, 0, 0, - 44, 45, 0, 0, 0, 46, 0, 47, 0, 48, - 0, 49, 0, 0, 0, -143, 1, 2, 3, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 0, 0, 0, 15, 16, 17, 18, 19, 20, 21, - 0, 0, 23, 0, 0, 0, 0, 0, 0, 24, - 0, 25, 26, 0, 27, 0, 28, 0, 29, 0, - 30, 31, 32, 0, 0, 33, 34, 0, 35, 36, - 0, 0, 0, 0, 0, 0, 37, 38, 0, 0, - 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 40, 41, 0, 0, 0, 0, + 0, 0, 0, 480, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 43, 0, 0, 0, + 0, 44, 45, 0, 0, 0, 46, 0, 47, 0, + 48, 0, 49, 0, -3, 0, -145, 1, 2, 3, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 0, 0, 14, 15, 16, 17, 18, 19, 20, + 21, 0, 0, 23, 0, 0, 0, 0, 0, 0, + 24, 0, 25, 26, 0, 27, 0, 28, 0, 29, + 0, 30, 31, 32, 0, 0, 33, 34, 0, 35, + 36, 0, 0, 0, 0, 0, 0, 37, 38, 0, + 0, 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 0, 0, - 0, 0, 479, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 43, 0, 0, 0, 0, - 44, 45, 0, 0, 0, 46, 0, 47, 0, 48, - 0, 49, 0, -3, 0, -144, 1, 2, 3, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 0, 0, 14, 15, 16, 17, 18, 19, 20, 21, - 0, 0, 23, 0, 0, 0, 0, 0, 0, 24, - 0, 25, 26, 0, 27, 0, 28, 0, 29, 0, - 30, 31, 32, 0, 0, 33, 34, 0, 35, 36, - 0, 0, 0, 0, 0, 0, 37, 38, 0, 0, - 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 40, 41, 0, 0, 0, 0, + 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 43, 0, 0, 0, + 0, 44, 45, 0, 0, 0, 46, 0, 47, 0, + 48, 0, 49, 1, 2, 3, 4, 0, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 0, -120, 0, + 15, 16, 17, 18, 19, 20, 21, 22, 0, 23, + 128, 0, 129, 0, 0, 0, 24, 130, 25, 26, + 0, 27, 131, 28, 0, 29, 132, 30, 31, 32, + 0, 0, 33, 34, 0, 35, 36, 0, 0, 0, + 0, 0, 0, 37, 38, 0, 133, 0, 0, 0, + 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 0, 0, - 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 43, 0, 0, 0, 0, - 44, 45, 0, 0, 0, 46, 0, 47, 0, 48, - 0, 49, 1, 2, 3, 4, 0, 5, 6, 7, - 8, 9, 10, 11, 12, 13, 0, -119, 0, 15, - 16, 17, 18, 19, 20, 21, 22, 0, 23, 127, - 0, 128, 0, 0, 0, 24, 129, 25, 26, 0, - 27, 130, 28, 0, 29, 131, 30, 31, 32, 0, - 0, 33, 34, 0, 35, 36, 0, 0, 0, 0, - 0, 0, 37, 38, 0, 132, 0, 0, 0, 39, + 40, 41, 0, 0, 0, 0, 0, 0, 0, 134, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, - 41, 0, 0, 0, 0, 0, 0, 0, 133, 0, + 0, 0, 43, 0, 0, 0, 0, 44, 45, 0, + 0, 0, 46, 0, 47, 0, 48, 0, 49, 1, + 2, 3, 4, 0, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 0, 0, 0, 15, 16, 17, 18, + 19, 20, 21, 22, 0, 23, 128, 0, 129, 0, + 0, 0, 24, 130, 25, 26, 0, 27, 131, 28, + 0, 29, 132, 30, 31, 32, 0, 0, 33, 34, + 0, 35, 36, 0, 0, 0, 0, 0, 0, 37, + 38, 0, 133, 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 43, 0, 0, 0, 0, 44, 45, 0, 0, - 0, 46, 0, 47, 0, 48, 0, 49, 1, 2, - 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, - 12, 13, 0, 0, 0, 15, 16, 17, 18, 19, - 20, 21, 22, 0, 23, 127, 0, 128, 0, 0, - 0, 24, 129, 25, 26, 0, 27, 130, 28, 0, - 29, 131, 30, 31, 32, 0, 0, 33, 34, 0, - 35, 36, 0, 0, 0, 0, 0, 0, 37, 38, - 0, 132, 0, 0, 0, 39, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 40, 41, 0, 0, + 0, 0, 0, 0, 0, 134, 0, 150, 0, 3, + 4, 0, 5, 6, 7, 8, 9, 0, 43, 0, + 0, 0, 0, 44, 45, 0, 0, 0, 46, 20, + 47, 22, 48, 23, 49, 0, 129, 0, 0, 0, + 24, 0, 0, 0, 0, 0, 0, 28, 0, 29, + 151, 0, 0, 0, 0, 0, 0, 34, 0, 35, + 36, 0, 0, 0, 0, 0, 0, 37, 0, 0, + 0, 0, 0, 0, 39, 0, 0, 100, 0, 3, + 4, 0, 5, 6, 7, 8, 9, 0, 0, 0, + 0, 0, 0, 0, 40, 41, 0, 0, 0, 20, + 0, 22, 0, 23, 0, 0, 0, 0, 0, 0, + 24, 0, 0, 0, 0, 0, 43, 28, 0, 29, + 0, 44, 45, 0, 0, 0, 46, 34, 47, 35, + 36, 0, 49, 0, 0, 0, 0, 37, 0, 0, + 0, 0, 0, 0, 39, 0, 0, 100, 0, 3, + 4, 0, 5, 6, 7, 8, 9, 0, 0, 0, + 0, 0, 0, 0, 40, 41, 0, 0, 0, 20, + 0, 22, 0, 23, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 43, 0, 0, 29, + 0, 44, 45, 0, 0, 0, 46, 34, 47, 35, + 36, 0, 49, 0, 0, 0, 0, 0, 0, 168, + 0, 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 40, 41, 0, 0, 0, - 0, 0, 0, 0, 133, 0, 149, 0, 3, 4, - 0, 5, 6, 7, 8, 9, 0, 43, 0, 0, - 0, 0, 44, 45, 0, 0, 0, 46, 20, 47, - 22, 48, 23, 49, 0, 128, 0, 0, 0, 24, - 0, 0, 0, 0, 0, 0, 28, 0, 29, 150, - 0, 0, 0, 0, 0, 0, 34, 0, 35, 36, - 0, 0, 0, 0, 0, 0, 37, 0, 0, 0, - 0, 0, 0, 39, 0, 0, 99, 0, 3, 4, - 0, 5, 6, 7, 8, 9, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 20, 0, - 22, 0, 23, 0, 0, 0, 0, 0, 0, 24, - 0, 0, 0, 0, 0, 43, 28, 0, 29, 0, - 44, 45, 0, 0, 0, 46, 34, 47, 35, 36, - 0, 49, 0, 0, 0, 0, 37, 0, 0, 0, - 0, 0, 0, 39, 0, 0, 99, 0, 3, 4, - 0, 5, 6, 7, 8, 9, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 0, 0, 0, 20, 0, - 22, 0, 23, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 43, 0, 0, 29, 0, - 44, 45, 0, 0, 0, 46, 34, 47, 35, 36, - 0, 49, 0, 0, 0, 0, 0, 0, 167, 0, - 0, 0, 0, 39, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 40, 41, 168, 169, 170, 0, 171, + 0, 0, 0, 0, 40, 41, 169, 170, 171, 0, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, - 182, 183, 184, 185, 186, 187, 188, 0, 189, 190, - 191, 0, 192, 193, 194, 46, 0, 47, 0, 0, - 195, 49, 196, 0, 197, 198, 199, 200, 201, 167, - 202, 203, 204, 205, 206, 0, 0, 0, 0, 0, - 207, 0, 208, 0, 0, 209, 0, 0, 0, 0, - 0, 332, 0, 0, 0, 0, 168, 169, 170, 0, - 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, - 181, 182, 183, 184, 185, 186, 187, 188, 0, 189, - 190, 191, 0, 192, 193, 194, 0, 0, 0, 0, - 0, 195, 167, 196, 0, 197, 198, 199, 200, 201, - 0, 202, 203, 204, 205, 206, 0, 0, 0, 0, - 0, 207, 0, 208, 0, 0, 209, 0, 0, 168, - 169, 170, 364, 171, 172, 173, 174, 175, 176, 177, + 182, 183, 184, 185, 186, 187, 188, 189, 0, 190, + 191, 192, 0, 193, 194, 195, 46, 0, 47, 0, + 0, 196, 49, 197, 0, 198, 199, 200, 201, 202, + 168, 203, 204, 205, 206, 207, 0, 0, 0, 0, + 0, 208, 0, 209, 0, 0, 210, 0, 0, 0, + 0, 0, 333, 0, 0, 0, 0, 169, 170, 171, + 0, 172, 173, 174, 175, 176, 177, 178, 179, 180, + 181, 182, 183, 184, 185, 186, 187, 188, 189, 0, + 190, 191, 192, 0, 193, 194, 195, 0, 0, 0, + 0, 0, 196, 168, 197, 0, 198, 199, 200, 201, + 202, 0, 203, 204, 205, 206, 207, 0, 0, 0, + 0, 0, 208, 0, 209, 0, 0, 210, 0, 0, + 169, 170, 171, 365, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, - 188, 0, 189, 190, 191, 0, 192, 193, 194, 0, - 0, 0, 0, 0, 195, 167, 196, 0, 197, 198, - 199, 200, 201, 0, 202, 203, 204, 205, 206, 0, - 0, 0, 0, 0, 207, 0, 208, 0, 0, 209, - 0, 0, 168, 169, 170, 402, 171, 172, 173, 174, + 188, 189, 0, 190, 191, 192, 0, 193, 194, 195, + 0, 0, 0, 0, 0, 196, 168, 197, 0, 198, + 199, 200, 201, 202, 0, 203, 204, 205, 206, 207, + 0, 0, 0, 0, 0, 208, 0, 209, 0, 0, + 210, 0, 0, 169, 170, 171, 403, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, - 185, 186, 187, 188, 0, 189, 190, 191, 0, 192, - 193, 194, 0, 0, 0, 0, 167, 195, 0, 196, - 356, 197, 198, 199, 200, 201, 0, 202, 203, 204, - 205, 206, 0, 0, 0, 0, 0, 207, 0, 208, - 0, 0, 209, 168, 169, 170, 0, 171, 172, 173, + 185, 186, 187, 188, 189, 0, 190, 191, 192, 0, + 193, 194, 195, 0, 0, 0, 0, 168, 196, 0, + 197, 357, 198, 199, 200, 201, 202, 0, 203, 204, + 205, 206, 207, 0, 0, 0, 0, 0, 208, 0, + 209, 0, 0, 210, 169, 170, 171, 0, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 187, 188, 0, 189, 190, 191, 0, - 192, 193, 194, 0, 0, 0, 0, 167, 195, 0, - 196, 0, 197, 198, 199, 200, 201, 0, 202, 203, - 204, 205, 206, 0, 0, 0, 0, 0, 207, 0, - 208, 358, 0, 209, 168, 169, 170, 0, 171, 172, + 184, 185, 186, 187, 188, 189, 0, 190, 191, 192, + 0, 193, 194, 195, 0, 0, 0, 0, 168, 196, + 0, 197, 0, 198, 199, 200, 201, 202, 0, 203, + 204, 205, 206, 207, 0, 0, 0, 0, 0, 208, + 0, 209, 359, 0, 210, 169, 170, 171, 0, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, - 183, 184, 185, 186, 187, 188, 0, 189, 190, 191, - 0, 192, 193, 194, 0, 0, 0, 0, 167, 195, - 0, 196, 492, 197, 198, 199, 200, 201, 0, 202, - 203, 204, 205, 206, 0, 0, 0, 0, 0, 207, - 0, 208, 0, 0, 209, 168, 169, 170, 0, 171, + 183, 184, 185, 186, 187, 188, 189, 0, 190, 191, + 192, 0, 193, 194, 195, 0, 0, 0, 0, 168, + 196, 0, 197, 493, 198, 199, 200, 201, 202, 0, + 203, 204, 205, 206, 207, 0, 0, 0, 0, 0, + 208, 0, 209, 0, 0, 210, 169, 170, 171, 0, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, - 182, 183, 184, 185, 186, 187, 188, 0, 189, 190, - 191, 0, 192, 193, 194, 0, 0, 0, 0, 167, - 195, 0, 196, 0, 197, 198, 199, 200, 201, 0, - 202, 203, 204, 205, 206, 0, 0, 0, 0, 0, - 207, 0, 208, 0, 0, 209, 168, 169, 170, 0, - 171, 172, 173, 174, 175, 176, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 188, 0, 189, - 190, 191, 0, 192, 193, 194, 0, 0, 0, 0, - 167, 0, 0, 0, 0, 197, 198, 199, 200, 201, - 0, 202, 203, 204, 205, 206, 0, 0, 0, 0, - 0, 207, 0, 208, 0, 0, 209, 168, 169, 170, - 0, 171, 172, 173, 174, 175, 176, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 189, 190, 191, 0, 192, 193, 194, 0, 0, 0, - 0, 167, 0, 0, 0, 0, 197, 198, 199, 200, - 201, 0, 202, 203, 204, 205, 206, 0, 0, 0, - 0, 0, 207, 0, 208, 0, 0, 209, 168, 169, - 170, 0, 171, 172, 173, 174, 175, 176, 0, 0, + 182, 183, 184, 185, 186, 187, 188, 189, 0, 190, + 191, 192, 0, 193, 194, 195, 0, 0, 0, 0, + 168, 196, 0, 197, 0, 198, 199, 200, 201, 202, + 0, 203, 204, 205, 206, 207, 0, 0, 0, 0, + 0, 208, 0, 209, 0, 0, 210, 169, 170, 171, + 0, 172, 173, 174, 175, 176, 177, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, + 190, 191, 192, 0, 193, 194, 195, 0, 0, 0, + 0, 168, 0, 0, 0, 0, 198, 199, 200, 201, + 202, 0, 203, 204, 205, 206, 207, 0, 0, 0, + 0, 0, 208, 0, 209, 0, 0, 210, 169, 170, + 171, 0, 172, 173, 174, 175, 176, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 189, 190, 191, 0, 192, 193, 194, 0, 0, - 0, 0, 167, 0, 0, 0, 0, 0, 198, 199, - 200, 201, 0, 202, 203, 204, 205, 206, 0, 0, - 0, 0, 0, 207, 0, 208, 0, 0, 209, 168, - 169, 170, 0, 171, 172, 173, 174, 175, 176, 0, + 0, 190, 191, 192, 0, 193, 194, 195, 0, 0, + 0, 0, 168, 0, 0, 0, 0, 198, 199, 200, + 201, 202, 0, 203, 204, 205, 206, 207, 0, 0, + 0, 0, 0, 208, 0, 209, 0, 0, 210, 169, + 170, 171, 0, 172, 173, 174, 175, 176, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 189, 190, 191, 0, 192, 193, 194, 0, - 0, 0, 0, 167, 0, 0, 0, 0, 0, 0, - 199, 200, 201, 0, 202, 203, 204, 205, 206, 0, - 0, 0, 0, 0, 207, 0, 208, 0, 0, 209, - 168, 169, 170, 0, 171, 172, 173, 174, 175, 176, + 0, 0, 190, 191, 192, 0, 193, 194, 195, 0, + 0, 0, 0, 168, 0, 0, 0, 0, 0, 199, + 200, 201, 202, 0, 203, 204, 205, 206, 207, 0, + 0, 0, 0, 0, 208, 0, 209, 0, 0, 210, + 169, 170, 171, 0, 172, 173, 174, 175, 176, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 189, 190, 191, 0, 192, 193, 194, - 0, 0, 0, 0, 167, 0, 0, 0, 0, 0, - 0, -154, 200, 201, 0, 202, 203, 204, 205, 206, - 0, 0, 0, 0, 0, 207, 0, 208, 0, 0, - 209, 168, 169, 170, 0, -154, -154, -154, -154, 175, - 176, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 189, 190, 191, 0, 192, 193, - 194, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 200, 201, 0, 202, 203, 204, 205, - 206, 0, 0, 0, 0, 0, 207, 0, 208, 0, - 0, 209 + 0, 0, 0, 190, 191, 192, 0, 193, 194, 195, + 0, 0, 0, 0, 168, 0, 0, 0, 0, 0, + 0, 200, 201, 202, 0, 203, 204, 205, 206, 207, + 0, 0, 0, 0, 0, 208, 0, 209, 0, 0, + 210, 169, 170, 171, 0, 172, 173, 174, 175, 176, + 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 190, 191, 192, 0, 193, 194, + 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, -155, 201, 202, 0, 203, 204, 205, 206, + 207, 0, 0, 0, 0, 0, 208, 0, 209, 0, + 0, 210 }; static const yytype_int16 yycheck[] = { - 0, 0, 0, 0, 0, 39, 91, 20, 58, 98, - 65, 24, 251, 109, 3, 391, 3, 48, 3, 3, - 325, 50, 3, 319, 37, 3, 39, 40, 41, 0, - 43, 44, 45, 92, 47, 19, 91, 46, 19, 100, - 68, 19, 217, 100, 100, 3, 100, 89, 0, 0, - 122, 226, 52, 52, 52, 52, 52, 3, 36, 5, - 34, 19, 8, 9, 10, 124, 12, 3, 127, 18, - 375, 367, 133, 3, 102, 122, 133, 133, 27, 133, - 135, 52, 469, 32, 100, 100, 473, 474, 62, 19, - 14, 125, 18, 122, 107, 104, 109, 46, 122, 45, - 52, 52, 3, 27, 5, 492, 93, 35, 93, 55, - 56, 207, 125, 3, 353, 18, 421, 133, 133, 506, - 129, 130, 3, 51, 27, 126, 513, 122, 31, 32, - 99, 100, 127, 122, 115, 374, 512, 115, 19, 128, - 28, 44, 126, 46, 0, 33, 321, 122, 148, 148, - 148, 148, 148, 166, 167, 168, 169, 170, 171, 172, + 0, 0, 0, 0, 0, 39, 91, 20, 99, 58, + 65, 24, 110, 252, 3, 326, 392, 48, 3, 89, + 14, 320, 3, 4, 37, 92, 39, 40, 41, 3, + 43, 44, 45, 27, 47, 50, 91, 46, 19, 126, + 127, 68, 90, 91, 92, 3, 4, 35, 0, 0, + 122, 0, 52, 52, 52, 52, 52, 124, 34, 102, + 127, 19, 105, 51, 14, 376, 3, 4, 470, 368, + 122, 100, 474, 475, 122, 102, 124, 27, 3, 127, + 5, 136, 19, 8, 9, 10, 62, 12, 99, 100, + 100, 493, 126, 3, 4, 108, 105, 110, 18, 36, + 52, 52, 3, 52, 133, 507, 122, 122, 93, 19, + 208, 422, 514, 126, 100, 354, 3, 122, 5, 93, + 45, 130, 131, 133, 28, 126, 3, 122, 0, 33, + 55, 56, 127, 122, 126, 122, 375, 513, 100, 128, + 3, 3, 122, 122, 100, 126, 100, 133, 105, 149, + 149, 149, 149, 149, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, - 183, 184, 185, 186, 187, 188, 126, 148, 122, 192, + 183, 184, 185, 186, 187, 188, 189, 133, 115, 133, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, - 203, 204, 205, 206, 207, 208, 148, 148, 232, 3, - 234, 214, 102, 212, 100, 105, 122, 4, 90, 91, - 92, 126, 127, 122, 127, 215, 215, 215, 249, 232, - 459, 234, 231, 20, 21, 22, 322, 24, 3, 26, - 112, 113, 114, 115, 116, 105, 475, 4, 132, 100, - 122, 38, 124, 252, 253, 127, 125, 100, 3, 46, - 47, 48, 49, 20, 21, 22, 3, 24, 3, 26, - 349, 126, 351, 68, 90, 91, 92, 18, 3, 99, - 68, 38, 99, 3, 3, 3, 3, 362, 517, 334, - 47, 48, 49, 14, 127, 127, 122, 342, 114, 115, - 116, 304, 377, 133, 105, 132, 122, 100, 124, 3, - 102, 127, 99, 388, 393, 54, 54, 362, 3, 322, - 133, 311, 311, 311, 3, 89, 122, 132, 126, 319, - 319, 319, 377, 3, 133, 132, 105, 90, 91, 92, - 100, 102, 122, 388, 17, 132, 100, 387, 126, 126, - 4, 40, 3, 356, 378, 126, 132, 100, 437, 383, - 133, 65, 132, 126, 363, 133, 20, 21, 22, 122, - 24, 124, 26, 102, 127, 378, 126, 367, 367, 367, - 383, 456, 122, 458, 38, 133, 75, 76, 132, 105, - 3, 3, 46, 47, 48, 49, 27, 133, 132, 126, - 126, 90, 91, 92, 132, 94, 95, 96, 132, 132, - 3, 456, 122, 458, 126, 148, 52, 132, 132, 132, - 109, 110, 133, 112, 113, 114, 115, 116, 311, 398, - 58, 128, 341, 122, 445, 124, 445, 70, 127, 442, - 498, 484, 399, 427, 427, 99, 466, 419, 438, 27, - 489, -1, 371, -1, -1, 393, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 460, 460, 460, 460, 460, -1, 466, -1, 132, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 484, 484, 484, 484, 484, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 498, 498, - 498, 498, 498, 0, -1, -1, 3, 4, 5, 6, - -1, 8, 9, 10, 11, 12, 13, 14, 15, 16, - -1, -1, 19, 20, 21, 22, 23, 24, 25, 26, - -1, -1, 29, -1, -1, 40, -1, -1, -1, 36, - -1, 38, 39, -1, 41, -1, 43, -1, 45, -1, - 47, 48, 49, -1, -1, 52, 53, -1, 55, 56, - -1, -1, 67, 68, 69, -1, 63, 64, -1, -1, - 75, 76, -1, 70, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 90, 91, 92, -1, 94, - 95, 96, -1, 90, 91, -1, -1, -1, -1, -1, - -1, -1, 99, -1, 109, 110, -1, 112, 113, 114, - 115, 116, -1, -1, -1, 112, -1, 122, -1, 124, - 117, 118, 127, -1, -1, 122, -1, 124, -1, 126, - -1, 128, -1, -1, -1, 132, 3, 4, 5, 6, - -1, 8, 9, 10, 11, 12, 13, 14, 15, 16, - -1, -1, -1, 20, 21, 22, 23, 24, 25, 26, - 27, -1, 29, 30, -1, 32, -1, -1, -1, 36, - 37, 38, 39, -1, 41, 42, 43, -1, 45, 46, - 47, 48, 49, -1, -1, 52, 53, -1, 55, 56, - -1, -1, -1, -1, -1, -1, 63, 64, -1, 66, - -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, -1, -1, - -1, -1, 99, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 112, -1, -1, -1, -1, - 117, 118, -1, -1, -1, 122, -1, 124, -1, 126, - -1, 128, -1, -1, -1, 132, 3, 4, 5, 6, - -1, 8, 9, 10, 11, 12, 13, 14, 15, 16, - -1, -1, -1, 20, 21, 22, 23, 24, 25, 26, - 27, -1, 29, 30, -1, 32, -1, -1, -1, 36, - 37, 38, 39, -1, 41, 42, 43, -1, 45, 46, - 47, 48, 49, -1, -1, 52, 53, -1, 55, 56, - -1, -1, -1, -1, -1, -1, 63, 64, -1, 66, - -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, + 203, 204, 205, 206, 207, 208, 209, 149, 149, 233, + 149, 235, 215, 100, 213, 115, 127, 100, 132, 125, + 100, 126, 4, 3, 3, 3, 216, 216, 216, 250, + 233, 460, 235, 232, 218, 323, 68, 18, 20, 21, + 22, 4, 24, 227, 26, 3, 133, 476, 99, 68, + 99, 3, 3, 14, 253, 254, 38, 20, 21, 22, + 3, 24, 3, 26, 46, 47, 48, 49, 18, 350, + 127, 352, 127, 133, 122, 38, 105, 27, 18, 100, + 102, 31, 32, 46, 47, 48, 49, 27, 363, 518, + 335, 132, 32, 3, 44, 54, 46, 54, 343, 3, + 133, 89, 305, 378, 3, 122, 46, 132, 126, 3, + 133, 100, 127, 394, 389, 105, 132, 99, 363, 102, + 323, 122, 312, 312, 312, 17, 126, 100, 3, 126, + 320, 320, 320, 378, 132, 126, 99, 133, 322, 132, + 100, 126, 126, 65, 389, 122, 102, 133, 3, 388, + 132, 105, 3, 27, 357, 379, 132, 438, 133, 126, + 384, 132, 126, 132, 132, 364, 132, 3, 133, 132, + 132, 126, 40, 122, 52, 4, 379, 149, 368, 368, + 368, 384, 457, 312, 459, 132, 399, 133, 132, 58, + 129, 20, 21, 22, 446, 24, 446, 26, 428, 67, + 68, 69, 428, 71, 72, 73, 74, 75, 76, 38, + 342, 70, 457, 499, 459, 485, 467, 400, 47, 48, + 49, 490, 90, 91, 92, 27, 94, 95, 96, 394, + -1, -1, -1, -1, 372, -1, -1, -1, -1, 420, + 443, 109, 110, -1, 112, 113, 114, 115, 116, 439, + -1, -1, -1, -1, 122, -1, 124, -1, -1, 127, + -1, -1, -1, -1, -1, -1, -1, -1, 90, 91, + 92, 461, 461, 461, 461, 461, -1, 467, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, -1, -1, - -1, -1, 99, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 112, -1, -1, -1, -1, - 117, 118, -1, -1, -1, 122, -1, 124, -1, 126, - -1, 128, -1, -1, -1, 132, 3, 4, 5, 6, - -1, 8, 9, 10, 11, 12, 13, 14, 15, 16, - -1, -1, -1, 20, 21, 22, 23, 24, 25, 26, - 27, -1, 29, 30, -1, 32, -1, -1, -1, 36, - 37, 38, 39, -1, 41, 42, 43, -1, 45, 46, - 47, 48, 49, -1, -1, 52, 53, -1, 55, 56, - -1, -1, -1, -1, -1, -1, 63, 64, -1, 66, - -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, + 112, 113, 114, 115, 116, 485, 485, 485, 485, 485, + 122, -1, 124, -1, -1, 127, -1, -1, -1, 499, + 499, 499, 499, 499, 0, -1, -1, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, 13, 14, 15, + 16, -1, -1, 19, 20, 21, 22, 23, 24, 25, + 26, -1, -1, 29, -1, -1, 40, -1, -1, -1, + 36, -1, 38, 39, -1, 41, -1, 43, -1, 45, + -1, 47, 48, 49, -1, -1, 52, 53, -1, 55, + 56, -1, -1, 67, 68, 69, -1, 63, 64, -1, + -1, 75, 76, -1, 70, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 90, 91, 92, -1, + 94, 95, 96, -1, 90, 91, -1, -1, -1, -1, + -1, -1, -1, 99, -1, 109, 110, -1, 112, 113, + 114, 115, 116, -1, -1, -1, 112, -1, 122, -1, + 124, 117, 118, 127, -1, -1, 122, -1, 124, -1, + 126, -1, 128, -1, -1, -1, 132, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, 13, 14, 15, + 16, -1, -1, -1, 20, 21, 22, 23, 24, 25, + 26, 27, -1, 29, 30, -1, 32, -1, -1, -1, + 36, 37, 38, 39, -1, 41, 42, 43, -1, 45, + 46, 47, 48, 49, -1, -1, 52, 53, -1, 55, + 56, -1, -1, -1, 90, 91, 92, 63, 64, -1, + 66, -1, -1, -1, 70, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 114, 115, + 116, -1, -1, -1, 90, 91, 122, -1, 124, -1, + -1, 127, -1, 99, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 112, -1, -1, -1, + -1, 117, 118, -1, -1, -1, 122, -1, 124, -1, + 126, -1, 128, -1, -1, -1, 132, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, 13, 14, 15, + 16, -1, -1, -1, 20, 21, 22, 23, 24, 25, + 26, 27, -1, 29, 30, -1, 32, -1, -1, -1, + 36, 37, 38, 39, -1, 41, 42, 43, -1, 45, + 46, 47, 48, 49, -1, -1, 52, 53, -1, 55, + 56, -1, -1, -1, -1, -1, -1, 63, 64, -1, + 66, -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, -1, -1, - -1, -1, 99, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 112, -1, -1, -1, -1, - 117, 118, -1, -1, -1, 122, -1, 124, -1, 126, - -1, 128, -1, -1, -1, 132, 3, 4, 5, 6, - -1, 8, 9, 10, 11, 12, 13, 14, 15, 16, - -1, -1, 19, 20, 21, 22, 23, 24, 25, 26, - -1, -1, 29, -1, -1, -1, -1, -1, -1, 36, - -1, 38, 39, -1, 41, -1, 43, -1, 45, -1, - 47, 48, 49, -1, -1, 52, 53, -1, 55, 56, - -1, -1, -1, -1, -1, -1, 63, 64, -1, -1, - -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 90, 91, -1, -1, -1, -1, + -1, -1, -1, 99, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 112, -1, -1, -1, + -1, 117, 118, -1, -1, -1, 122, -1, 124, -1, + 126, -1, 128, -1, -1, -1, 132, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, 13, 14, 15, + 16, -1, -1, -1, 20, 21, 22, 23, 24, 25, + 26, 27, -1, 29, 30, -1, 32, -1, -1, -1, + 36, 37, 38, 39, -1, 41, 42, 43, -1, 45, + 46, 47, 48, 49, -1, -1, 52, 53, -1, 55, + 56, -1, -1, -1, -1, -1, -1, 63, 64, -1, + 66, -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, -1, -1, - -1, -1, 99, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 112, -1, -1, -1, -1, - 117, 118, -1, -1, -1, 122, -1, 124, -1, 126, - -1, 128, -1, -1, -1, 132, 3, 4, 5, 6, - -1, 8, 9, 10, 11, 12, 13, 14, 15, 16, - -1, -1, -1, 20, 21, 22, 23, 24, 25, 26, - -1, -1, 29, -1, -1, -1, -1, -1, -1, 36, - -1, 38, 39, -1, 41, -1, 43, -1, 45, -1, - 47, 48, 49, -1, -1, 52, 53, -1, 55, 56, - -1, -1, -1, -1, -1, -1, 63, 64, -1, -1, - -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 90, 91, -1, -1, -1, -1, + -1, -1, -1, 99, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 112, -1, -1, -1, + -1, 117, 118, -1, -1, -1, 122, -1, 124, -1, + 126, -1, 128, -1, -1, -1, 132, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, 13, 14, 15, + 16, -1, -1, 19, 20, 21, 22, 23, 24, 25, + 26, -1, -1, 29, -1, -1, 40, -1, -1, -1, + 36, -1, 38, 39, -1, 41, -1, 43, -1, 45, + -1, 47, 48, 49, -1, -1, 52, 53, -1, 55, + 56, -1, -1, -1, -1, -1, -1, 63, 64, -1, + -1, 75, 76, -1, 70, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 90, 91, 92, -1, + 94, 95, 96, -1, 90, 91, -1, -1, -1, -1, + -1, -1, -1, 99, -1, 109, 110, -1, 112, 113, + 114, 115, 116, -1, -1, -1, 112, -1, 122, -1, + 124, 117, 118, 127, -1, -1, 122, -1, 124, -1, + 126, -1, 128, -1, -1, -1, 132, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, 13, 14, 15, + 16, -1, -1, -1, 20, 21, 22, 23, 24, 25, + 26, -1, -1, 29, -1, -1, -1, -1, -1, -1, + 36, -1, 38, 39, -1, 41, -1, 43, -1, 45, + -1, 47, 48, 49, -1, -1, 52, 53, -1, 55, + 56, -1, -1, -1, -1, -1, -1, 63, 64, -1, + -1, -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, -1, -1, - -1, -1, 99, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 112, -1, -1, -1, -1, - 117, 118, -1, -1, -1, 122, -1, 124, -1, 126, - -1, 128, -1, -1, -1, 132, 3, 4, 5, 6, - -1, 8, 9, 10, 11, 12, 13, 14, 15, 16, - -1, -1, -1, 20, 21, 22, 23, 24, 25, 26, - -1, -1, 29, -1, -1, -1, -1, -1, -1, 36, - -1, 38, 39, -1, 41, -1, 43, -1, 45, -1, - 47, 48, 49, -1, -1, 52, 53, -1, 55, 56, - -1, -1, -1, -1, -1, -1, 63, 64, -1, -1, - -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 90, 91, -1, -1, -1, -1, + -1, -1, -1, 99, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 112, -1, -1, -1, + -1, 117, 118, -1, -1, -1, 122, -1, 124, -1, + 126, -1, 128, -1, -1, -1, 132, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, 13, 14, 15, + 16, -1, -1, -1, 20, 21, 22, 23, 24, 25, + 26, -1, -1, 29, -1, -1, -1, -1, -1, -1, + 36, -1, 38, 39, -1, 41, -1, 43, -1, 45, + -1, 47, 48, 49, -1, -1, 52, 53, -1, 55, + 56, -1, -1, -1, -1, -1, -1, 63, 64, -1, + -1, -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, -1, -1, - -1, -1, 99, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 112, -1, -1, -1, -1, - 117, 118, -1, -1, -1, 122, -1, 124, -1, 126, - -1, 128, -1, -1, -1, 132, 3, 4, 5, 6, - -1, 8, 9, 10, 11, 12, 13, 14, 15, 16, - -1, -1, -1, 20, 21, 22, 23, 24, 25, 26, - -1, -1, 29, -1, -1, -1, -1, -1, -1, 36, - -1, 38, 39, -1, 41, -1, 43, -1, 45, -1, - 47, 48, 49, -1, -1, 52, 53, -1, 55, 56, - -1, -1, -1, -1, -1, -1, 63, 64, -1, -1, - -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 90, 91, -1, -1, -1, -1, + -1, -1, -1, 99, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 112, -1, -1, -1, + -1, 117, 118, -1, -1, -1, 122, -1, 124, -1, + 126, -1, 128, -1, -1, -1, 132, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, 13, 14, 15, + 16, -1, -1, -1, 20, 21, 22, 23, 24, 25, + 26, -1, -1, 29, -1, -1, -1, -1, -1, -1, + 36, -1, 38, 39, -1, 41, -1, 43, -1, 45, + -1, 47, 48, 49, -1, -1, 52, 53, -1, 55, + 56, -1, -1, -1, -1, -1, -1, 63, 64, -1, + -1, -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, -1, -1, - -1, -1, 99, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 112, -1, -1, -1, -1, - 117, 118, -1, -1, -1, 122, -1, 124, -1, 126, - -1, 128, -1, -1, -1, 132, 3, 4, 5, 6, - -1, 8, 9, 10, 11, 12, 13, 14, 15, 16, - -1, -1, -1, 20, 21, 22, 23, 24, 25, 26, - -1, -1, 29, -1, -1, -1, -1, -1, -1, 36, - -1, 38, 39, -1, 41, -1, 43, -1, 45, -1, - 47, 48, 49, -1, -1, 52, 53, -1, 55, 56, - -1, -1, -1, -1, -1, -1, 63, 64, -1, -1, - -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 90, 91, -1, -1, -1, -1, + -1, -1, -1, 99, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 112, -1, -1, -1, + -1, 117, 118, -1, -1, -1, 122, -1, 124, -1, + 126, -1, 128, -1, -1, -1, 132, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, 13, 14, 15, + 16, -1, -1, -1, 20, 21, 22, 23, 24, 25, + 26, -1, -1, 29, -1, -1, -1, -1, -1, -1, + 36, -1, 38, 39, -1, 41, -1, 43, -1, 45, + -1, 47, 48, 49, -1, -1, 52, 53, -1, 55, + 56, -1, -1, -1, -1, -1, -1, 63, 64, -1, + -1, -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, -1, -1, - -1, -1, 99, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 112, -1, -1, -1, -1, - 117, 118, -1, -1, -1, 122, -1, 124, -1, 126, - -1, 128, -1, 0, -1, 132, 3, 4, 5, 6, - -1, 8, 9, 10, 11, 12, 13, 14, 15, 16, - -1, -1, 19, 20, 21, 22, 23, 24, 25, 26, - -1, -1, 29, -1, -1, -1, -1, -1, -1, 36, - -1, 38, 39, -1, 41, -1, 43, -1, 45, -1, - 47, 48, 49, -1, -1, 52, 53, -1, 55, 56, - -1, -1, -1, -1, -1, -1, 63, 64, -1, -1, - -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 90, 91, -1, -1, -1, -1, + -1, -1, -1, 99, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 112, -1, -1, -1, + -1, 117, 118, -1, -1, -1, 122, -1, 124, -1, + 126, -1, 128, -1, 0, -1, 132, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, 13, 14, 15, + 16, -1, -1, 19, 20, 21, 22, 23, 24, 25, + 26, -1, -1, 29, -1, -1, -1, -1, -1, -1, + 36, -1, 38, 39, -1, 41, -1, 43, -1, 45, + -1, 47, 48, 49, -1, -1, 52, 53, -1, 55, + 56, -1, -1, -1, -1, -1, -1, 63, 64, -1, + -1, -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, -1, -1, - -1, -1, 99, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 112, -1, -1, -1, -1, - 117, 118, -1, -1, -1, 122, -1, 124, -1, 126, - -1, 128, 3, 4, 5, 6, -1, 8, 9, 10, - 11, 12, 13, 14, 15, 16, -1, 18, -1, 20, - 21, 22, 23, 24, 25, 26, 27, -1, 29, 30, - -1, 32, -1, -1, -1, 36, 37, 38, 39, -1, - 41, 42, 43, -1, 45, 46, 47, 48, 49, -1, - -1, 52, 53, -1, 55, 56, -1, -1, -1, -1, - -1, -1, 63, 64, -1, 66, -1, -1, -1, 70, + -1, -1, -1, -1, 90, 91, -1, -1, -1, -1, + -1, -1, -1, 99, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 112, -1, -1, -1, + -1, 117, 118, -1, -1, -1, 122, -1, 124, -1, + 126, -1, 128, 3, 4, 5, 6, -1, 8, 9, + 10, 11, 12, 13, 14, 15, 16, -1, 18, -1, + 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, + 30, -1, 32, -1, -1, -1, 36, 37, 38, 39, + -1, 41, 42, 43, -1, 45, 46, 47, 48, 49, + -1, -1, 52, 53, -1, 55, 56, -1, -1, -1, + -1, -1, -1, 63, 64, -1, 66, -1, -1, -1, + 70, -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, 90, - 91, -1, -1, -1, -1, -1, -1, -1, 99, -1, + 90, 91, -1, -1, -1, -1, -1, -1, -1, 99, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 112, -1, -1, -1, -1, 117, 118, -1, -1, - -1, 122, -1, 124, -1, 126, -1, 128, 3, 4, - 5, 6, -1, 8, 9, 10, 11, 12, 13, 14, - 15, 16, -1, -1, -1, 20, 21, 22, 23, 24, - 25, 26, 27, -1, 29, 30, -1, 32, -1, -1, - -1, 36, 37, 38, 39, -1, 41, 42, 43, -1, - 45, 46, 47, 48, 49, -1, -1, 52, 53, -1, - 55, 56, -1, -1, -1, -1, -1, -1, 63, 64, - -1, 66, -1, -1, -1, 70, -1, -1, -1, -1, + -1, -1, 112, -1, -1, -1, -1, 117, 118, -1, + -1, -1, 122, -1, 124, -1, 126, -1, 128, 3, + 4, 5, 6, -1, 8, 9, 10, 11, 12, 13, + 14, 15, 16, -1, -1, -1, 20, 21, 22, 23, + 24, 25, 26, 27, -1, 29, 30, -1, 32, -1, + -1, -1, 36, 37, 38, 39, -1, 41, 42, 43, + -1, 45, 46, 47, 48, 49, -1, -1, 52, 53, + -1, 55, 56, -1, -1, -1, -1, -1, -1, 63, + 64, -1, 66, -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 90, 91, -1, -1, -1, - -1, -1, -1, -1, 99, -1, 3, -1, 5, 6, - -1, 8, 9, 10, 11, 12, -1, 112, -1, -1, - -1, -1, 117, 118, -1, -1, -1, 122, 25, 124, - 27, 126, 29, 128, -1, 32, -1, -1, -1, 36, - -1, -1, -1, -1, -1, -1, 43, -1, 45, 46, - -1, -1, -1, -1, -1, -1, 53, -1, 55, 56, - -1, -1, -1, -1, -1, -1, 63, -1, -1, -1, - -1, -1, -1, 70, -1, -1, 3, -1, 5, 6, - -1, 8, 9, 10, 11, 12, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, 25, -1, - 27, -1, 29, -1, -1, -1, -1, -1, -1, 36, - -1, -1, -1, -1, -1, 112, 43, -1, 45, -1, - 117, 118, -1, -1, -1, 122, 53, 124, 55, 56, - -1, 128, -1, -1, -1, -1, 63, -1, -1, -1, - -1, -1, -1, 70, -1, -1, 3, -1, 5, 6, - -1, 8, 9, 10, 11, 12, -1, -1, -1, -1, - -1, -1, -1, 90, 91, -1, -1, -1, 25, -1, - 27, -1, 29, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 112, -1, -1, 45, -1, - 117, 118, -1, -1, -1, 122, 53, 124, 55, 56, - -1, 128, -1, -1, -1, -1, -1, -1, 40, -1, - -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 90, 91, -1, -1, + -1, -1, -1, -1, -1, 99, -1, 3, -1, 5, + 6, -1, 8, 9, 10, 11, 12, -1, 112, -1, + -1, -1, -1, 117, 118, -1, -1, -1, 122, 25, + 124, 27, 126, 29, 128, -1, 32, -1, -1, -1, + 36, -1, -1, -1, -1, -1, -1, 43, -1, 45, + 46, -1, -1, -1, -1, -1, -1, 53, -1, 55, + 56, -1, -1, -1, -1, -1, -1, 63, -1, -1, + -1, -1, -1, -1, 70, -1, -1, 3, -1, 5, + 6, -1, 8, 9, 10, 11, 12, -1, -1, -1, + -1, -1, -1, -1, 90, 91, -1, -1, -1, 25, + -1, 27, -1, 29, -1, -1, -1, -1, -1, -1, + 36, -1, -1, -1, -1, -1, 112, 43, -1, 45, + -1, 117, 118, -1, -1, -1, 122, 53, 124, 55, + 56, -1, 128, -1, -1, -1, -1, 63, -1, -1, + -1, -1, -1, -1, 70, -1, -1, 3, -1, 5, + 6, -1, 8, 9, 10, 11, 12, -1, -1, -1, + -1, -1, -1, -1, 90, 91, -1, -1, -1, 25, + -1, 27, -1, 29, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 112, -1, -1, 45, + -1, 117, 118, -1, -1, -1, 122, 53, 124, 55, + 56, -1, 128, -1, -1, -1, -1, -1, -1, 40, + -1, -1, -1, -1, 70, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 90, 91, 67, 68, 69, -1, 71, - 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, - 82, 83, 84, 85, 86, 87, 88, -1, 90, 91, - 92, -1, 94, 95, 96, 122, -1, 124, -1, -1, - 102, 128, 104, -1, 106, 107, 108, 109, 110, 40, - 112, 113, 114, 115, 116, -1, -1, -1, -1, -1, - 122, -1, 124, -1, -1, 127, -1, -1, -1, -1, - -1, 133, -1, -1, -1, -1, 67, 68, 69, -1, + -1, -1, -1, -1, 90, 91, 67, 68, 69, -1, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, -1, 90, - 91, 92, -1, 94, 95, 96, -1, -1, -1, -1, - -1, 102, 40, 104, -1, 106, 107, 108, 109, 110, - -1, 112, 113, 114, 115, 116, -1, -1, -1, -1, - -1, 122, -1, 124, -1, -1, 127, -1, -1, 67, - 68, 69, 133, 71, 72, 73, 74, 75, 76, 77, - 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, - 88, -1, 90, 91, 92, -1, 94, 95, 96, -1, - -1, -1, -1, -1, 102, 40, 104, -1, 106, 107, - 108, 109, 110, -1, 112, 113, 114, 115, 116, -1, - -1, -1, -1, -1, 122, -1, 124, -1, -1, 127, - -1, -1, 67, 68, 69, 133, 71, 72, 73, 74, - 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, -1, 90, 91, 92, -1, 94, - 95, 96, -1, -1, -1, -1, 40, 102, -1, 104, - 105, 106, 107, 108, 109, 110, -1, 112, 113, 114, - 115, 116, -1, -1, -1, -1, -1, 122, -1, 124, - -1, -1, 127, 67, 68, 69, -1, 71, 72, 73, + 91, 92, -1, 94, 95, 96, 122, -1, 124, -1, + -1, 102, 128, 104, -1, 106, 107, 108, 109, 110, + 40, 112, 113, 114, 115, 116, -1, -1, -1, -1, + -1, 122, -1, 124, -1, -1, 127, -1, -1, -1, + -1, -1, 133, -1, -1, -1, -1, 67, 68, 69, + -1, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, -1, + 90, 91, 92, -1, 94, 95, 96, -1, -1, -1, + -1, -1, 102, 40, 104, -1, 106, 107, 108, 109, + 110, -1, 112, 113, 114, 115, 116, -1, -1, -1, + -1, -1, 122, -1, 124, -1, -1, 127, -1, -1, + 67, 68, 69, 133, 71, 72, 73, 74, 75, 76, + 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, + 87, 88, -1, 90, 91, 92, -1, 94, 95, 96, + -1, -1, -1, -1, -1, 102, 40, 104, -1, 106, + 107, 108, 109, 110, -1, 112, 113, 114, 115, 116, + -1, -1, -1, -1, -1, 122, -1, 124, -1, -1, + 127, -1, -1, 67, 68, 69, 133, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, -1, 94, 95, 96, -1, -1, -1, -1, 40, 102, -1, - 104, -1, 106, 107, 108, 109, 110, -1, 112, 113, + 104, 105, 106, 107, 108, 109, 110, -1, 112, 113, 114, 115, 116, -1, -1, -1, -1, -1, 122, -1, - 124, 125, -1, 127, 67, 68, 69, -1, 71, 72, + 124, -1, -1, 127, 67, 68, 69, -1, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, -1, 94, 95, 96, -1, -1, -1, -1, 40, 102, - -1, 104, 105, 106, 107, 108, 109, 110, -1, 112, + -1, 104, -1, 106, 107, 108, 109, 110, -1, 112, 113, 114, 115, 116, -1, -1, -1, -1, -1, 122, - -1, 124, -1, -1, 127, 67, 68, 69, -1, 71, + -1, 124, 125, -1, 127, 67, 68, 69, -1, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, -1, 94, 95, 96, -1, -1, -1, -1, 40, - 102, -1, 104, -1, 106, 107, 108, 109, 110, -1, + 102, -1, 104, 105, 106, 107, 108, 109, 110, -1, 112, 113, 114, 115, 116, -1, -1, -1, -1, -1, 122, -1, 124, -1, -1, 127, 67, 68, 69, -1, - 71, 72, 73, 74, 75, 76, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 88, -1, 90, + 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, -1, 94, 95, 96, -1, -1, -1, -1, - 40, -1, -1, -1, -1, 106, 107, 108, 109, 110, + 40, 102, -1, 104, -1, 106, 107, 108, 109, 110, -1, 112, 113, 114, 115, 116, -1, -1, -1, -1, -1, 122, -1, 124, -1, -1, 127, 67, 68, 69, -1, 71, 72, 73, 74, 75, 76, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 88, -1, 90, 91, 92, -1, 94, 95, 96, -1, -1, -1, -1, 40, -1, -1, -1, -1, 106, 107, 108, 109, 110, -1, 112, 113, 114, 115, 116, -1, -1, -1, @@ -3441,13 +3453,13 @@ static const yytype_int16 yycheck[] = 69, -1, 71, 72, 73, 74, 75, 76, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 90, 91, 92, -1, 94, 95, 96, -1, -1, - -1, -1, 40, -1, -1, -1, -1, -1, 107, 108, + -1, -1, 40, -1, -1, -1, -1, 106, 107, 108, 109, 110, -1, 112, 113, 114, 115, 116, -1, -1, -1, -1, -1, 122, -1, 124, -1, -1, 127, 67, 68, 69, -1, 71, 72, 73, 74, 75, 76, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 90, 91, 92, -1, 94, 95, 96, -1, - -1, -1, -1, 40, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 40, -1, -1, -1, -1, -1, 107, 108, 109, 110, -1, 112, 113, 114, 115, 116, -1, -1, -1, -1, -1, 122, -1, 124, -1, -1, 127, 67, 68, 69, -1, 71, 72, 73, 74, 75, 76, @@ -3460,7 +3472,7 @@ static const yytype_int16 yycheck[] = 76, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 90, 91, 92, -1, 94, 95, 96, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 109, 110, -1, 112, 113, 114, 115, + -1, -1, 108, 109, 110, -1, 112, 113, 114, 115, 116, -1, -1, -1, -1, -1, 122, -1, 124, -1, -1, 127 }; @@ -3478,49 +3490,50 @@ static const yytype_uint8 yystos[] = 160, 161, 163, 171, 179, 182, 183, 186, 189, 190, 191, 192, 196, 198, 207, 217, 220, 233, 234, 235, 238, 239, 240, 241, 244, 246, 247, 89, 50, 122, - 122, 164, 122, 3, 19, 126, 184, 185, 18, 3, - 240, 3, 219, 240, 122, 185, 223, 122, 126, 122, - 127, 240, 122, 237, 240, 242, 243, 240, 240, 240, - 240, 240, 238, 229, 230, 231, 237, 30, 32, 37, - 42, 46, 66, 99, 132, 143, 144, 145, 148, 150, - 165, 166, 181, 190, 236, 3, 0, 138, 126, 3, - 46, 150, 156, 157, 239, 145, 146, 18, 27, 31, - 32, 44, 46, 206, 245, 192, 100, 40, 67, 68, - 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, - 91, 92, 94, 95, 96, 102, 104, 106, 107, 108, - 109, 110, 112, 113, 114, 115, 116, 122, 124, 127, - 3, 122, 162, 146, 172, 188, 126, 127, 3, 185, - 222, 223, 224, 232, 122, 238, 127, 240, 180, 229, - 3, 155, 105, 132, 100, 133, 125, 100, 237, 3, - 3, 151, 152, 238, 238, 151, 3, 132, 145, 126, - 136, 3, 99, 68, 99, 3, 35, 51, 216, 3, - 3, 208, 240, 240, 240, 240, 240, 240, 240, 240, + 122, 164, 122, 3, 4, 19, 126, 184, 185, 18, + 3, 240, 3, 219, 240, 122, 185, 223, 122, 126, + 122, 127, 240, 122, 237, 240, 242, 243, 240, 240, + 240, 240, 240, 238, 229, 230, 231, 237, 30, 32, + 37, 42, 46, 66, 99, 132, 143, 144, 145, 148, + 150, 165, 166, 181, 190, 236, 3, 0, 138, 126, + 3, 46, 150, 156, 157, 239, 145, 146, 18, 27, + 31, 32, 44, 46, 206, 245, 192, 100, 40, 67, + 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, + 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, + 90, 91, 92, 94, 95, 96, 102, 104, 106, 107, + 108, 109, 110, 112, 113, 114, 115, 116, 122, 124, + 127, 3, 122, 162, 146, 172, 188, 126, 127, 184, + 185, 222, 223, 224, 232, 122, 238, 127, 240, 180, + 229, 3, 155, 105, 132, 100, 133, 125, 100, 237, + 3, 3, 151, 152, 238, 238, 151, 3, 132, 145, + 126, 136, 3, 99, 68, 99, 3, 35, 51, 216, + 3, 3, 208, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 3, 240, 240, 240, 240, + 240, 240, 240, 240, 240, 240, 3, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 229, 240, 3, 122, 128, 238, 14, 240, 99, - 139, 140, 141, 147, 148, 196, 198, 207, 217, 187, - 184, 127, 122, 228, 3, 93, 213, 214, 215, 133, - 3, 115, 133, 142, 143, 133, 238, 237, 237, 105, - 227, 100, 143, 132, 227, 238, 238, 102, 3, 54, - 193, 54, 194, 3, 209, 210, 105, 133, 125, 89, - 240, 3, 133, 122, 133, 132, 141, 126, 139, 229, - 102, 105, 211, 215, 133, 100, 132, 133, 105, 36, - 115, 224, 226, 102, 149, 152, 132, 99, 133, 3, - 5, 122, 224, 17, 195, 224, 225, 126, 227, 100, - 240, 3, 133, 146, 238, 126, 139, 132, 133, 3, - 5, 8, 9, 10, 12, 45, 55, 56, 212, 226, - 227, 93, 215, 28, 33, 173, 175, 177, 178, 146, - 237, 237, 239, 146, 213, 225, 126, 100, 199, 149, - 210, 133, 34, 62, 167, 168, 169, 170, 132, 211, - 126, 215, 126, 122, 173, 175, 65, 153, 133, 133, - 197, 224, 46, 99, 190, 203, 204, 205, 240, 105, - 132, 169, 170, 221, 176, 3, 146, 146, 227, 99, - 144, 148, 190, 200, 201, 202, 207, 217, 3, 27, - 132, 205, 105, 142, 142, 142, 227, 126, 126, 132, - 202, 216, 142, 132, 132, 133, 218, 200, 3, 174, - 142, 132, 122, 126, 132, 213, 142, 133, 132, 227 + 240, 240, 229, 240, 3, 122, 128, 238, 14, 240, + 99, 139, 140, 141, 147, 148, 196, 198, 207, 217, + 187, 184, 127, 122, 228, 3, 93, 213, 214, 215, + 133, 115, 184, 133, 142, 143, 133, 238, 237, 237, + 105, 227, 100, 143, 132, 227, 238, 238, 102, 3, + 54, 193, 54, 194, 3, 209, 210, 105, 133, 125, + 89, 240, 3, 133, 122, 133, 132, 141, 126, 139, + 229, 102, 105, 211, 215, 133, 100, 132, 133, 105, + 36, 115, 224, 226, 102, 149, 152, 132, 99, 133, + 3, 5, 122, 224, 17, 195, 224, 225, 126, 227, + 100, 240, 3, 133, 146, 238, 126, 139, 132, 133, + 3, 5, 8, 9, 10, 12, 45, 55, 56, 212, + 226, 227, 93, 215, 28, 33, 173, 175, 177, 178, + 146, 237, 237, 239, 146, 213, 225, 126, 100, 199, + 149, 210, 133, 34, 62, 167, 168, 169, 170, 132, + 211, 126, 215, 126, 122, 173, 175, 65, 153, 133, + 133, 197, 224, 46, 99, 190, 203, 204, 205, 240, + 105, 132, 169, 170, 221, 176, 3, 146, 146, 227, + 99, 144, 148, 190, 200, 201, 202, 207, 217, 3, + 27, 132, 205, 105, 142, 142, 142, 227, 126, 126, + 132, 202, 216, 142, 132, 132, 133, 218, 200, 3, + 174, 142, 132, 122, 126, 132, 213, 142, 133, 132, + 227 }; #define yyerrok (yyerrstatus = 0) @@ -4336,7 +4349,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2098 "parser.y" +#line 2120 "parser.y" {(yyval.code)=(yyvsp[(1) - (1)].code);} } break; @@ -4347,7 +4360,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2099 "parser.y" +#line 2121 "parser.y" {(yyval.code)=code_new();} } break; @@ -4358,7 +4371,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2101 "parser.y" +#line 2123 "parser.y" {(yyval.code)=code_append((yyvsp[(1) - (2)].code),(yyvsp[(2) - (2)].code));} } break; @@ -4369,7 +4382,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2102 "parser.y" +#line 2124 "parser.y" {(yyval.code)=(yyvsp[(1) - (1)].code);} } break; @@ -4380,7 +4393,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2117 "parser.y" +#line 2139 "parser.y" {(yyval.code)=(yyvsp[(2) - (3)].code);} } break; @@ -4391,7 +4404,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2118 "parser.y" +#line 2140 "parser.y" {(yyval.code)=0;} } break; @@ -4402,7 +4415,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2121 "parser.y" +#line 2143 "parser.y" {(yyval.code)=0;} } break; @@ -4413,7 +4426,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2128 "parser.y" +#line 2150 "parser.y" {(yyval.code)=(yyvsp[(3) - (4)].code);} } break; @@ -4424,7 +4437,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2132 "parser.y" +#line 2154 "parser.y" {(yyval.code)=(yyvsp[(1) - (2)].code);} } break; @@ -4435,7 +4448,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2133 "parser.y" +#line 2155 "parser.y" {(yyval.code)=(yyvsp[(1) - (1)].code);} } break; @@ -4446,7 +4459,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2137 "parser.y" +#line 2159 "parser.y" { code_t**cc = &global->init->method->body->code; *cc = code_append(*cc, (yyvsp[(1) - (1)].code)); @@ -4460,7 +4473,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2148 "parser.y" +#line 2170 "parser.y" {(yyval.value)=(yyvsp[(2) - (2)].value);} } break; @@ -4471,7 +4484,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2149 "parser.y" +#line 2171 "parser.y" {(yyval.value).c=abc_pushundefined(0); (yyval.value).t=TYPE_ANY; } @@ -4484,7 +4497,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2153 "parser.y" +#line 2175 "parser.y" {(yyval.code)=(yyvsp[(2) - (2)].code);} } break; @@ -4495,7 +4508,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2154 "parser.y" +#line 2176 "parser.y" {(yyval.code)=(yyvsp[(2) - (2)].code);} } break; @@ -4506,7 +4519,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2156 "parser.y" +#line 2178 "parser.y" {(yyval.code) = (yyvsp[(1) - (1)].code);} } break; @@ -4517,7 +4530,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2157 "parser.y" +#line 2179 "parser.y" {(yyval.code) = code_append((yyvsp[(1) - (3)].code), (yyvsp[(3) - (3)].code));} } break; @@ -4528,7 +4541,7 @@ yyreduce: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2160 "parser.y" +#line 2182 "parser.y" { PASS12 if(variable_exists((yyvsp[(1) - (3)].id))) @@ -4595,7 +4608,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2220 "parser.y" +#line 2242 "parser.y" {(yyval.code) = code_new();} } break; @@ -4606,7 +4619,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2221 "parser.y" +#line 2243 "parser.y" {(yyval.code)=(yyvsp[(2) - (2)].code);} } break; @@ -4617,7 +4630,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2224 "parser.y" +#line 2246 "parser.y" {PASS12 new_state();} } break; @@ -4628,7 +4641,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2224 "parser.y" +#line 2246 "parser.y" { (yyval.code) = code_new(); @@ -4656,7 +4669,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2243 "parser.y" +#line 2265 "parser.y" {(yyval.code)=code_new();} } break; @@ -4667,7 +4680,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2250 "parser.y" +#line 2272 "parser.y" { PASS1 (yyval.id)=(yyvsp[(2) - (3)].id);new_variable((yyvsp[(2) - (3)].id),0,1,0); PASS2 (yyval.id)=(yyvsp[(2) - (3)].id);new_variable((yyvsp[(2) - (3)].id),(yyvsp[(3) - (3)].classinfo),1,0); @@ -4681,7 +4694,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2254 "parser.y" +#line 2276 "parser.y" { PASS12 (yyval.id)=(yyvsp[(1) - (1)].id); @@ -4695,7 +4708,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2259 "parser.y" +#line 2281 "parser.y" {PASS12 new_state();(yyval.for_start).name=(yyvsp[(1) - (2)].id);(yyval.for_start).each=0;} } break; @@ -4706,7 +4719,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2260 "parser.y" +#line 2282 "parser.y" {PASS12 new_state();(yyval.for_start).name=(yyvsp[(1) - (3)].id);(yyval.for_start).each=1;} } break; @@ -4717,7 +4730,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2262 "parser.y" +#line 2284 "parser.y" { if((yyvsp[(1) - (8)].for_start).each) syntaxerror("invalid syntax: ; not allowed in for each statement"); (yyval.code) = code_new(); @@ -4746,7 +4759,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2282 "parser.y" +#line 2304 "parser.y" { variable_t*var = find_variable(state, (yyvsp[(2) - (6)].id)); if(!var) { @@ -4803,7 +4816,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2330 "parser.y" +#line 2352 "parser.y" {PASS12 new_state();} } break; @@ -4814,7 +4827,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2330 "parser.y" +#line 2352 "parser.y" { (yyval.code) = code_new(); @@ -4842,7 +4855,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2349 "parser.y" +#line 2371 "parser.y" {PASS12 new_state();} } break; @@ -4853,7 +4866,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2349 "parser.y" +#line 2371 "parser.y" { (yyval.code) = code_new(); code_t*loopstart = (yyval.code) = abc_label((yyval.code)); @@ -4877,7 +4890,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2364 "parser.y" +#line 2386 "parser.y" { (yyval.code) = abc___break__(0, ""); } @@ -4890,7 +4903,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2367 "parser.y" +#line 2389 "parser.y" { (yyval.code) = abc___break__(0, (yyvsp[(2) - (2)].id)); } @@ -4903,7 +4916,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2370 "parser.y" +#line 2392 "parser.y" { (yyval.code) = abc___continue__(0, ""); } @@ -4916,7 +4929,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2373 "parser.y" +#line 2395 "parser.y" { (yyval.code) = abc___continue__(0, (yyvsp[(2) - (2)].id)); } @@ -4929,7 +4942,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2377 "parser.y" +#line 2399 "parser.y" {(yyval.code)=0;} } break; @@ -4940,7 +4953,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2378 "parser.y" +#line 2400 "parser.y" {(yyval.code)=(yyvsp[(1) - (1)].code);} } break; @@ -4951,7 +4964,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2379 "parser.y" +#line 2401 "parser.y" {(yyval.code)=(yyvsp[(1) - (1)].code);} } break; @@ -4962,7 +4975,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2380 "parser.y" +#line 2402 "parser.y" {(yyval.code)=code_append((yyvsp[(1) - (2)].code),(yyvsp[(2) - (2)].code));} } break; @@ -4973,7 +4986,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2381 "parser.y" +#line 2403 "parser.y" {(yyval.code)=(yyvsp[(1) - (1)].code);} } break; @@ -4984,7 +4997,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2382 "parser.y" +#line 2404 "parser.y" {(yyval.code)=code_append((yyval.code),(yyvsp[(2) - (2)].code));} } break; @@ -4995,7 +5008,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2384 "parser.y" +#line 2406 "parser.y" { (yyval.code) = abc_getlocal(0, state->switch_var); (yyval.code) = code_append((yyval.code), (yyvsp[(2) - (4)].value).c); @@ -5016,7 +5029,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2395 "parser.y" +#line 2417 "parser.y" { (yyval.code) = (yyvsp[(3) - (3)].code); } @@ -5029,7 +5042,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2398 "parser.y" +#line 2420 "parser.y" {PASS12 new_state();state->switch_var=alloc_local();} } break; @@ -5040,7 +5053,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2398 "parser.y" +#line 2420 "parser.y" { (yyval.code)=(yyvsp[(4) - (8)].value).c; (yyval.code) = abc_setlocal((yyval.code), state->switch_var); @@ -5078,7 +5091,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2429 "parser.y" +#line 2451 "parser.y" {PASS12 new_state(); state->exception_name=(yyvsp[(3) - (5)].id); PASS1 new_variable((yyvsp[(3) - (5)].id), 0, 0, 0); @@ -5093,7 +5106,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2434 "parser.y" +#line 2456 "parser.y" { namespace_t name_ns = {ACCESS_PACKAGE, ""}; multiname_t name = {QNAME, &name_ns, 0, (yyvsp[(3) - (9)].id)}; @@ -5123,7 +5136,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2454 "parser.y" +#line 2476 "parser.y" {PASS12 new_state();state->exception_name=0;} } break; @@ -5134,7 +5147,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2454 "parser.y" +#line 2476 "parser.y" { (yyvsp[(4) - (5)].code) = var_block((yyvsp[(4) - (5)].code)); if(!(yyvsp[(4) - (5)].code)) { @@ -5159,7 +5172,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2470 "parser.y" +#line 2492 "parser.y" {(yyval.catch_list).l=list_new();(yyval.catch_list).finally=0;list_append((yyval.catch_list).l,(yyvsp[(1) - (1)].exception));} } break; @@ -5170,7 +5183,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2471 "parser.y" +#line 2493 "parser.y" {(yyval.catch_list)=(yyvsp[(1) - (2)].catch_list);list_append((yyval.catch_list).l,(yyvsp[(2) - (2)].exception));} } break; @@ -5181,7 +5194,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2472 "parser.y" +#line 2494 "parser.y" {(yyval.catch_list)=(yyvsp[(1) - (1)].catch_list);} } break; @@ -5192,7 +5205,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2473 "parser.y" +#line 2495 "parser.y" { (yyval.catch_list) = (yyvsp[(1) - (2)].catch_list); (yyval.catch_list).finally = 0; @@ -5210,7 +5223,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2481 "parser.y" +#line 2503 "parser.y" { (yyval.catch_list).l=list_new(); (yyval.catch_list).finally = 0; @@ -5228,7 +5241,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2490 "parser.y" +#line 2512 "parser.y" {PASS12 new_state(); state->method->has_exceptions=1; state->method->late_binding=1;//for invariant scope_code @@ -5242,7 +5255,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2493 "parser.y" +#line 2515 "parser.y" { code_t*out = abc_nop(0); @@ -5295,7 +5308,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2539 "parser.y" +#line 2561 "parser.y" { (yyval.code)=(yyvsp[(2) - (2)].value).c; (yyval.code)=abc_throw((yyval.code)); @@ -5309,7 +5322,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2543 "parser.y" +#line 2565 "parser.y" { if(!state->exception_name) syntaxerror("re-throw only possible within a catch block"); @@ -5327,7 +5340,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2554 "parser.y" +#line 2576 "parser.y" { new_state(); if(state->method->has_exceptions) { @@ -5347,7 +5360,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2564 "parser.y" +#line 2586 "parser.y" { /* remove getlocal;pushwith from scope code again */ state->method->scope_code = code_cutlast(code_cutlast(state->method->scope_code)); @@ -5371,7 +5384,7 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2582 "parser.y" +#line 2604 "parser.y" {PASS12 (yyval.id)="package";} } break; @@ -5382,8 +5395,8 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2584 "parser.y" - {PASS12 (yyval.id) = concat3((yyvsp[(1) - (3)].id),".",(yyvsp[(3) - (3)].id));free((yyvsp[(1) - (3)].id));(yyvsp[(1) - (3)].id)=0;} +#line 2605 "parser.y" + {PASS12 (yyval.id)=(yyvsp[(1) - (1)].id);} } break; @@ -5393,8 +5406,8 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2585 "parser.y" - {PASS12 (yyval.id)=strdup((yyvsp[(1) - (1)].id));} +#line 2607 "parser.y" + {PASS12 (yyval.id) = concat3((yyvsp[(1) - (3)].id),".",(yyvsp[(3) - (3)].id));free((yyvsp[(1) - (3)].id));(yyvsp[(1) - (3)].id)=0;} } break; @@ -5404,8 +5417,8 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2587 "parser.y" - {PASS12 startpackage((yyvsp[(2) - (3)].id));free((yyvsp[(2) - (3)].id));(yyvsp[(2) - (3)].id)=0;} +#line 2608 "parser.y" + {PASS12 (yyval.id)=strdup((yyvsp[(1) - (1)].id));} } break; @@ -5415,8 +5428,8 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2588 "parser.y" - {PASS12 endpackage();(yyval.code)=0;} +#line 2610 "parser.y" + {PASS12 startpackage((yyvsp[(2) - (3)].id));free((yyvsp[(2) - (3)].id));(yyvsp[(2) - (3)].id)=0;} } break; @@ -5426,8 +5439,8 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2589 "parser.y" - {PASS12 startpackage("");} +#line 2611 "parser.y" + {PASS12 endpackage();(yyval.code)=0;} } break; @@ -5437,8 +5450,8 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2590 "parser.y" - {PASS12 endpackage();(yyval.code)=0;} +#line 2612 "parser.y" + {PASS12 startpackage("");} } break; @@ -5448,7 +5461,18 @@ PASS2 if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2592 "parser.y" +#line 2613 "parser.y" + {PASS12 endpackage();(yyval.code)=0;} + } + break; + + + + case 118: + if(as3_pass==2) { + +/* Line 1464 of skeleton.m4 */ +#line 2615 "parser.y" { PASS12 slotinfo_t*s = registry_find((yyvsp[(2) - (2)].classinfo)->package, (yyvsp[(2) - (2)].classinfo)->name); @@ -5470,11 +5494,11 @@ PASS2 - case 118: + case 119: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2608 "parser.y" +#line 2631 "parser.y" { PASS12 if(strncmp("flash.", (yyvsp[(2) - (4)].id), 6) && as3_pass==1) { @@ -5494,44 +5518,44 @@ PASS2 - case 119: + case 120: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2625 "parser.y" +#line 2648 "parser.y" {PASS12 (yyval.flags).flags=0;(yyval.flags).ns=0;} } break; - case 120: + case 121: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2626 "parser.y" +#line 2649 "parser.y" {PASS12 (yyval.flags)=(yyvsp[(1) - (1)].flags);} } break; - case 121: + case 122: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2627 "parser.y" +#line 2650 "parser.y" {PASS12 (yyval.flags)=(yyvsp[(1) - (1)].flags);} } break; - case 122: + case 123: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2628 "parser.y" +#line 2651 "parser.y" { PASS12 (yyval.flags).flags=(yyvsp[(1) - (2)].flags).flags|(yyvsp[(2) - (2)].flags).flags; @@ -5544,110 +5568,110 @@ PASS2 - case 123: + case 124: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2636 "parser.y" +#line 2659 "parser.y" {PASS12 (yyval.flags).flags=FLAG_PUBLIC;(yyval.flags).ns=0;} } break; - case 124: + case 125: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2637 "parser.y" +#line 2660 "parser.y" {PASS12 (yyval.flags).flags=FLAG_PRIVATE;(yyval.flags).ns=0;} } break; - case 125: + case 126: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2638 "parser.y" +#line 2661 "parser.y" {PASS12 (yyval.flags).flags=FLAG_PROTECTED;(yyval.flags).ns=0;} } break; - case 126: + case 127: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2639 "parser.y" +#line 2662 "parser.y" {PASS12 (yyval.flags).flags=FLAG_STATIC;(yyval.flags).ns=0;} } break; - case 127: + case 128: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2640 "parser.y" +#line 2663 "parser.y" {PASS12 (yyval.flags).flags=FLAG_DYNAMIC;(yyval.flags).ns=0;} } break; - case 128: + case 129: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2641 "parser.y" +#line 2664 "parser.y" {PASS12 (yyval.flags).flags=FLAG_FINAL;(yyval.flags).ns=0;} } break; - case 129: + case 130: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2642 "parser.y" +#line 2665 "parser.y" {PASS12 (yyval.flags).flags=FLAG_OVERRIDE;(yyval.flags).ns=0;} } break; - case 130: + case 131: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2643 "parser.y" +#line 2666 "parser.y" {PASS12 (yyval.flags).flags=FLAG_NATIVE;(yyval.flags).ns=0;} } break; - case 131: + case 132: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2644 "parser.y" +#line 2667 "parser.y" {PASS12 (yyval.flags).flags=FLAG_PACKAGEINTERNAL;(yyval.flags).ns=0;} } break; - case 132: + case 133: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2645 "parser.y" +#line 2668 "parser.y" {PASS12 (yyval.flags).flags=FLAG_NAMESPACE; (yyval.flags).ns=(yyvsp[(1) - (1)].id); } @@ -5656,99 +5680,99 @@ PASS2 - case 133: + case 134: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2649 "parser.y" +#line 2672 "parser.y" {PASS12 (yyval.classinfo)=0;} } break; - case 134: + case 135: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2650 "parser.y" +#line 2673 "parser.y" {PASS12 (yyval.classinfo)=(yyvsp[(2) - (2)].classinfo);} } break; - case 135: + case 136: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2652 "parser.y" +#line 2675 "parser.y" {PASS12 (yyval.classinfo_list)=list_new();} } break; - case 136: + case 137: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2653 "parser.y" +#line 2676 "parser.y" {PASS12 (yyval.classinfo_list)=(yyvsp[(2) - (2)].classinfo_list);} } break; - case 137: + case 138: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2655 "parser.y" +#line 2678 "parser.y" {PASS12 (yyval.classinfo_list)=list_new();} } break; - case 138: + case 139: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2656 "parser.y" +#line 2679 "parser.y" {PASS12 (yyval.classinfo_list)=(yyvsp[(2) - (2)].classinfo_list);} } break; - case 139: + case 140: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2660 "parser.y" +#line 2683 "parser.y" {PASS12 startclass(&(yyvsp[(1) - (6)].flags),(yyvsp[(3) - (6)].id),(yyvsp[(4) - (6)].classinfo),(yyvsp[(5) - (6)].classinfo_list));} } break; - case 140: + case 141: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2662 "parser.y" +#line 2685 "parser.y" {PASS12 endclass();(yyval.code)=0;} } break; - case 141: + case 142: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2666 "parser.y" +#line 2689 "parser.y" {PASS12 (yyvsp[(1) - (5)].flags).flags|=FLAG_INTERFACE; startclass(&(yyvsp[(1) - (5)].flags),(yyvsp[(3) - (5)].id),0,(yyvsp[(4) - (5)].classinfo_list));} } @@ -5756,22 +5780,22 @@ PASS2 - case 142: + case 143: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2669 "parser.y" +#line 2692 "parser.y" {PASS12 endclass();(yyval.code)=0;} } break; - case 151: + case 152: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2682 "parser.y" +#line 2705 "parser.y" { code_t*c = state->cls->static_init->header; c = code_append(c, (yyvsp[(1) - (1)].code)); @@ -5782,11 +5806,11 @@ PASS2 - case 157: + case 158: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2693 "parser.y" +#line 2716 "parser.y" { syntaxerror("variable declarations not allowed in interfaces"); } @@ -5795,11 +5819,11 @@ PASS2 - case 158: + case 159: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2696 "parser.y" +#line 2719 "parser.y" { PASS12 (yyvsp[(1) - (8)].flags).flags |= FLAG_PUBLIC; @@ -5815,55 +5839,55 @@ PASS2 - case 161: + case 162: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2711 "parser.y" +#line 2734 "parser.y" {setslotstate(&(yyvsp[(1) - (2)].flags),(yyvsp[(2) - (2)].token));} } break; - case 162: + case 163: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2711 "parser.y" +#line 2734 "parser.y" {(yyval.code)=(yyvsp[(4) - (4)].code);setslotstate(0, 0);} } break; - case 163: + case 164: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2713 "parser.y" +#line 2736 "parser.y" {(yyval.code) = (yyvsp[(1) - (1)].code);} } break; - case 164: + case 165: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2714 "parser.y" +#line 2737 "parser.y" {(yyval.code) = code_append((yyvsp[(1) - (3)].code), (yyvsp[(3) - (3)].code));} } break; - case 165: + case 166: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2717 "parser.y" +#line 2740 "parser.y" { int flags = slotstate_flags->flags; namespace_t ns = modifiers2access(slotstate_flags); @@ -5940,121 +5964,121 @@ PASS2 - case 166: + case 167: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2791 "parser.y" +#line 2814 "parser.y" {(yyval.constant)=0;} } break; - case 167: + case 168: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2792 "parser.y" +#line 2815 "parser.y" {(yyval.constant)=(yyvsp[(2) - (2)].constant);} } break; - case 168: + case 169: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2794 "parser.y" +#line 2817 "parser.y" {(yyval.constant) = constant_new_int((yyvsp[(1) - (1)].number_uint));} } break; - case 169: + case 170: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2795 "parser.y" +#line 2818 "parser.y" {(yyval.constant) = constant_new_int((yyvsp[(1) - (1)].number_int));} } break; - case 170: + case 171: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2796 "parser.y" +#line 2819 "parser.y" {(yyval.constant) = constant_new_uint((yyvsp[(1) - (1)].number_uint));} } break; - case 171: + case 172: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2797 "parser.y" +#line 2820 "parser.y" {(yyval.constant) = constant_new_float((yyvsp[(1) - (1)].number_float));} } break; - case 172: + case 173: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2798 "parser.y" +#line 2821 "parser.y" {(yyval.constant) = constant_new_string2((yyvsp[(1) - (1)].str).str,(yyvsp[(1) - (1)].str).len);free((char*)(yyvsp[(1) - (1)].str).str);} } break; - case 173: + case 174: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2800 "parser.y" +#line 2823 "parser.y" {(yyval.constant) = constant_new_true((yyvsp[(1) - (1)].token));} } break; - case 174: + case 175: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2801 "parser.y" +#line 2824 "parser.y" {(yyval.constant) = constant_new_false((yyvsp[(1) - (1)].token));} } break; - case 175: + case 176: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2802 "parser.y" +#line 2825 "parser.y" {(yyval.constant) = constant_new_null((yyvsp[(1) - (1)].token));} } break; - case 176: + case 177: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2803 "parser.y" +#line 2826 "parser.y" { if(!strcmp((yyvsp[(1) - (1)].id), "NaN")) { (yyval.constant) = constant_new_float(__builtin_nan("")); @@ -6068,11 +6092,11 @@ PASS2 - case 177: + case 178: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2815 "parser.y" +#line 2838 "parser.y" { PASS12 memset(&(yyval.params),0,sizeof((yyval.params))); @@ -6082,11 +6106,11 @@ PASS2 - case 178: + case 179: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2819 "parser.y" +#line 2842 "parser.y" { PASS12 (yyval.params)=(yyvsp[(1) - (1)].params); @@ -6096,11 +6120,11 @@ PASS2 - case 179: + case 180: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2825 "parser.y" +#line 2848 "parser.y" { PASS12 memset(&(yyval.params),0,sizeof((yyval.params))); @@ -6112,11 +6136,11 @@ PASS2 - case 180: + case 181: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2831 "parser.y" +#line 2854 "parser.y" { PASS12 (yyval.params) =(yyvsp[(1) - (4)].params); @@ -6128,11 +6152,11 @@ PASS2 - case 181: + case 182: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2839 "parser.y" +#line 2862 "parser.y" { PASS12 (yyval.params) = (yyvsp[(1) - (3)].params); @@ -6143,11 +6167,11 @@ PASS2 - case 182: + case 183: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2844 "parser.y" +#line 2867 "parser.y" { PASS12 memset(&(yyval.params),0,sizeof((yyval.params))); @@ -6158,11 +6182,11 @@ PASS2 - case 183: + case 184: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2850 "parser.y" +#line 2873 "parser.y" { PASS12 (yyval.param) = rfx_calloc(sizeof(param_t)); @@ -6176,11 +6200,11 @@ PASS2 - case 184: + case 185: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2858 "parser.y" +#line 2881 "parser.y" { PASS12 (yyval.param) = rfx_calloc(sizeof(param_t)); @@ -6194,33 +6218,33 @@ PASS2 - case 187: + case 188: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2868 "parser.y" +#line 2891 "parser.y" {PASS12 (yyval.token)=0;} } break; - case 188: + case 189: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2871 "parser.y" +#line 2894 "parser.y" {PASS12 startfunction(&(yyvsp[(1) - (9)].flags),(yyvsp[(3) - (9)].token),(yyvsp[(4) - (9)].id),&(yyvsp[(6) - (9)].params),(yyvsp[(8) - (9)].classinfo));} } break; - case 189: + case 190: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2872 "parser.y" +#line 2895 "parser.y" { PASS1 endfunction(&(yyvsp[(1) - (12)].flags),(yyvsp[(3) - (12)].token),(yyvsp[(4) - (12)].id),&(yyvsp[(6) - (12)].params),0,0); @@ -6240,33 +6264,33 @@ PASS2 - case 191: + case 192: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2888 "parser.y" +#line 2911 "parser.y" {PASS12 (yyval.id)=0;} } break; - case 192: + case 193: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2890 "parser.y" +#line 2913 "parser.y" {PASS12 innerfunction((yyvsp[(2) - (7)].id),&(yyvsp[(4) - (7)].params),(yyvsp[(6) - (7)].classinfo));} } break; - case 193: + case 194: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2891 "parser.y" +#line 2914 "parser.y" { PASS1 endfunction(0,0,(yyvsp[(2) - (10)].id),&(yyvsp[(4) - (10)].params),0,0); @@ -6290,11 +6314,11 @@ PASS2 - case 194: + case 195: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2913 "parser.y" +#line 2936 "parser.y" { PASS1 NEW(unresolvedinfo_t,c); memset(c, 0, sizeof(*c)); @@ -6318,11 +6342,11 @@ PASS2 - case 195: + case 196: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2932 "parser.y" +#line 2955 "parser.y" { PASS1 NEW(unresolvedinfo_t,c); memset(c, 0, sizeof(*c)); @@ -6341,121 +6365,121 @@ PASS2 - case 198: + case 199: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2949 "parser.y" +#line 2972 "parser.y" {PASS12 (yyval.classinfo_list)=list_new();list_append((yyval.classinfo_list), (yyvsp[(1) - (1)].classinfo));} } break; - case 199: + case 200: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2950 "parser.y" +#line 2973 "parser.y" {PASS12 (yyval.classinfo_list)=(yyvsp[(1) - (3)].classinfo_list);list_append((yyval.classinfo_list),(yyvsp[(3) - (3)].classinfo));} } break; - case 200: + case 201: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2952 "parser.y" +#line 2975 "parser.y" {PASS12 (yyval.classinfo)=(yyvsp[(1) - (1)].classinfo);} } break; - case 201: + case 202: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2953 "parser.y" +#line 2976 "parser.y" {PASS12 (yyval.classinfo)=registry_getanytype();} } break; - case 202: + case 203: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2954 "parser.y" +#line 2977 "parser.y" {PASS12 (yyval.classinfo)=registry_getanytype();} } break; - case 203: + case 204: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2963 "parser.y" +#line 2986 "parser.y" {PASS12 (yyval.classinfo)=(yyvsp[(2) - (2)].classinfo);} } break; - case 204: + case 205: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2964 "parser.y" +#line 2987 "parser.y" {PASS12 (yyval.classinfo)=0;} } break; - case 205: + case 206: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2968 "parser.y" +#line 2991 "parser.y" {(yyval.value_list).cc=0;(yyval.value_list).number=0;} } break; - case 206: + case 207: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2969 "parser.y" +#line 2992 "parser.y" {(yyval.value_list)=(yyvsp[(2) - (3)].value_list);} } break; - case 207: + case 208: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2971 "parser.y" +#line 2994 "parser.y" {(yyval.value_list).cc=0;(yyval.value_list).number=0;} } break; - case 210: + case 211: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2975 "parser.y" +#line 2998 "parser.y" {(yyval.value_list).number=1; (yyval.value_list).cc = (yyvsp[(1) - (1)].value).c; } @@ -6464,22 +6488,22 @@ PASS2 - case 211: + case 212: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2979 "parser.y" +#line 3002 "parser.y" {(yyval.value_list) = (yyvsp[(1) - (2)].value_list);} } break; - case 212: + case 213: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2980 "parser.y" +#line 3003 "parser.y" { (yyval.value_list).number= (yyvsp[(1) - (2)].value_list).number+1; (yyval.value_list).cc = code_append((yyvsp[(1) - (2)].value_list).cc, (yyvsp[(2) - (2)].value).c); @@ -6489,11 +6513,11 @@ PASS2 - case 214: + case 215: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 2986 "parser.y" +#line 3009 "parser.y" { (yyval.value).c = (yyvsp[(2) - (4)].value).c; if((yyval.value).c->opcode == OPCODE_COERCE_A) (yyval.value).c = code_cutlast((yyval.value).c); @@ -6530,11 +6554,11 @@ PASS2 - case 215: + case 216: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3022 "parser.y" +#line 3045 "parser.y" { (yyval.value).c = (yyvsp[(1) - (4)].value).c; @@ -6585,11 +6609,11 @@ PASS2 - case 216: + case 217: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3068 "parser.y" +#line 3091 "parser.y" { if(!state->cls) syntaxerror("super() not allowed outside of a class"); if(!state->method) syntaxerror("super() not allowed outside of a function"); @@ -6615,11 +6639,11 @@ PASS2 - case 217: + case 218: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3089 "parser.y" +#line 3112 "parser.y" { (yyval.value).c = (yyvsp[(2) - (2)].value).c; if((yyval.value).c->opcode == OPCODE_COERCE_A) { @@ -6645,11 +6669,11 @@ PASS2 - case 218: + case 219: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3110 "parser.y" +#line 3133 "parser.y" { (yyval.code) = abc_returnvoid(0); } @@ -6658,11 +6682,11 @@ PASS2 - case 219: + case 220: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3113 "parser.y" +#line 3136 "parser.y" { (yyval.code) = (yyvsp[(2) - (2)].value).c; (yyval.code) = abc_returnvalue((yyval.code)); @@ -6672,33 +6696,33 @@ PASS2 - case 220: + case 221: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3120 "parser.y" +#line 3143 "parser.y" {(yyval.value)=(yyvsp[(1) - (1)].value);} } break; - case 221: + case 222: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3121 "parser.y" +#line 3144 "parser.y" {(yyval.value) = (yyvsp[(1) - (1)].value);} } break; - case 222: + case 223: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3122 "parser.y" +#line 3145 "parser.y" { (yyval.value).c = (yyvsp[(1) - (3)].value).c; (yyval.value).c = cut_last_push((yyval.value).c); @@ -6710,11 +6734,11 @@ PASS2 - case 223: + case 224: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3128 "parser.y" +#line 3151 "parser.y" { (yyval.code)=cut_last_push((yyvsp[(1) - (1)].value).c); } @@ -6723,55 +6747,55 @@ PASS2 - case 224: + case 225: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3134 "parser.y" +#line 3157 "parser.y" {(yyval.value) = (yyvsp[(1) - (1)].value);} } break; - case 226: + case 227: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3138 "parser.y" +#line 3161 "parser.y" {(yyval.value) = (yyvsp[(1) - (1)].value);} } break; - case 227: + case 228: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3140 "parser.y" +#line 3163 "parser.y" {(yyval.value) = (yyvsp[(1) - (1)].value);} } break; - case 228: + case 229: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3142 "parser.y" +#line 3165 "parser.y" {(yyval.value) = (yyvsp[(1) - (1)].value);} } break; - case 230: + case 231: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3146 "parser.y" +#line 3169 "parser.y" { (yyval.value).c = 0; namespace_t ns = {ACCESS_PACKAGE, ""}; @@ -6793,11 +6817,11 @@ PASS2 - case 231: + case 232: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3163 "parser.y" +#line 3186 "parser.y" {(yyval.value).c = abc_pushbyte(0, (yyvsp[(1) - (1)].number_uint)); //MULTINAME(m, registry_getintclass()); //$$.c = abc_coerce2($$.c, &m); // FIXME @@ -6808,11 +6832,11 @@ PASS2 - case 232: + case 233: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3168 "parser.y" +#line 3191 "parser.y" {(yyval.value).c = abc_pushshort(0, (yyvsp[(1) - (1)].number_uint)); (yyval.value).t = TYPE_INT; } @@ -6821,11 +6845,11 @@ PASS2 - case 233: + case 234: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3171 "parser.y" +#line 3194 "parser.y" {(yyval.value).c = abc_pushint(0, (yyvsp[(1) - (1)].number_int)); (yyval.value).t = TYPE_INT; } @@ -6834,11 +6858,11 @@ PASS2 - case 234: + case 235: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3174 "parser.y" +#line 3197 "parser.y" {(yyval.value).c = abc_pushuint(0, (yyvsp[(1) - (1)].number_uint)); (yyval.value).t = TYPE_UINT; } @@ -6847,11 +6871,11 @@ PASS2 - case 235: + case 236: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3177 "parser.y" +#line 3200 "parser.y" {(yyval.value).c = abc_pushdouble(0, (yyvsp[(1) - (1)].number_float)); (yyval.value).t = TYPE_FLOAT; } @@ -6860,11 +6884,11 @@ PASS2 - case 236: + case 237: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3180 "parser.y" +#line 3203 "parser.y" {(yyval.value).c = abc_pushstring2(0, &(yyvsp[(1) - (1)].str));free((char*)(yyvsp[(1) - (1)].str).str); (yyval.value).t = TYPE_STRING; } @@ -6873,11 +6897,11 @@ PASS2 - case 237: + case 238: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3183 "parser.y" +#line 3206 "parser.y" {(yyval.value).c = abc_pushundefined(0); (yyval.value).t = TYPE_ANY; } @@ -6886,11 +6910,11 @@ PASS2 - case 238: + case 239: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3186 "parser.y" +#line 3209 "parser.y" {(yyval.value).c = abc_pushtrue(0); (yyval.value).t = TYPE_BOOLEAN; } @@ -6899,11 +6923,11 @@ PASS2 - case 239: + case 240: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3189 "parser.y" +#line 3212 "parser.y" {(yyval.value).c = abc_pushfalse(0); (yyval.value).t = TYPE_BOOLEAN; } @@ -6912,11 +6936,11 @@ PASS2 - case 240: + case 241: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3192 "parser.y" +#line 3215 "parser.y" {(yyval.value).c = abc_pushnull(0); (yyval.value).t = TYPE_NULL; } @@ -6925,11 +6949,11 @@ PASS2 - case 241: + case 242: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3196 "parser.y" +#line 3219 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c);(yyval.value).c = abc_greaterequals((yyval.value).c);(yyval.value).c=abc_not((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; } @@ -6938,11 +6962,11 @@ PASS2 - case 242: + case 243: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3199 "parser.y" +#line 3222 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c);(yyval.value).c = abc_greaterthan((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; } @@ -6951,11 +6975,11 @@ PASS2 - case 243: + case 244: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3202 "parser.y" +#line 3225 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c);(yyval.value).c = abc_greaterthan((yyval.value).c);(yyval.value).c=abc_not((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; } @@ -6964,11 +6988,11 @@ PASS2 - case 244: + case 245: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3205 "parser.y" +#line 3228 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c);(yyval.value).c = abc_greaterequals((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; } @@ -6977,11 +7001,11 @@ PASS2 - case 245: + case 246: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3208 "parser.y" +#line 3231 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c);(yyval.value).c = abc_equals((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; } @@ -6990,11 +7014,11 @@ PASS2 - case 246: + case 247: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3211 "parser.y" +#line 3234 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c);(yyval.value).c = abc_strictequals((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; } @@ -7003,11 +7027,11 @@ PASS2 - case 247: + case 248: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3214 "parser.y" +#line 3237 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c);(yyval.value).c = abc_strictequals((yyval.value).c);(yyval.value).c = abc_not((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; } @@ -7016,11 +7040,11 @@ PASS2 - case 248: + case 249: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3217 "parser.y" +#line 3240 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c);(yyval.value).c = abc_equals((yyval.value).c);(yyval.value).c = abc_not((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; } @@ -7029,11 +7053,11 @@ PASS2 - case 249: + case 250: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3221 "parser.y" +#line 3244 "parser.y" {(yyval.value).t = join_types((yyvsp[(1) - (3)].value).t, (yyvsp[(3) - (3)].value).t, 'O'); (yyval.value).c = (yyvsp[(1) - (3)].value).c; (yyval.value).c = converttype((yyval.value).c, (yyvsp[(1) - (3)].value).t, (yyval.value).t); @@ -7050,11 +7074,11 @@ PASS2 - case 250: + case 251: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3232 "parser.y" +#line 3255 "parser.y" { (yyval.value).t = join_types((yyvsp[(1) - (3)].value).t, (yyvsp[(3) - (3)].value).t, 'A'); /*printf("%08x:\n",$1.t); @@ -7077,11 +7101,11 @@ PASS2 - case 251: + case 252: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3250 "parser.y" +#line 3273 "parser.y" {(yyval.value).c=(yyvsp[(2) - (2)].value).c; (yyval.value).c = abc_not((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; @@ -7091,11 +7115,11 @@ PASS2 - case 252: + case 253: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3255 "parser.y" +#line 3278 "parser.y" {(yyval.value).c=(yyvsp[(2) - (2)].value).c; (yyval.value).c = abc_bitnot((yyval.value).c); (yyval.value).t = TYPE_INT; @@ -7105,11 +7129,11 @@ PASS2 - case 253: + case 254: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3260 "parser.y" +#line 3283 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_bitand((yyval.value).c); (yyval.value).t = TYPE_INT; @@ -7119,11 +7143,11 @@ PASS2 - case 254: + case 255: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3265 "parser.y" +#line 3288 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_bitxor((yyval.value).c); (yyval.value).t = TYPE_INT; @@ -7133,11 +7157,11 @@ PASS2 - case 255: + case 256: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3270 "parser.y" +#line 3293 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_bitor((yyval.value).c); (yyval.value).t = TYPE_INT; @@ -7147,11 +7171,11 @@ PASS2 - case 256: + case 257: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3275 "parser.y" +#line 3298 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_rshift((yyval.value).c); (yyval.value).t = TYPE_INT; @@ -7161,11 +7185,11 @@ PASS2 - case 257: + case 258: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3279 "parser.y" +#line 3302 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_urshift((yyval.value).c); (yyval.value).t = TYPE_INT; @@ -7175,11 +7199,11 @@ PASS2 - case 258: + case 259: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3283 "parser.y" +#line 3306 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_lshift((yyval.value).c); (yyval.value).t = TYPE_INT; @@ -7189,11 +7213,11 @@ PASS2 - case 259: + case 260: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3288 "parser.y" +#line 3311 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_divide((yyval.value).c); (yyval.value).t = TYPE_NUMBER; @@ -7203,11 +7227,11 @@ PASS2 - case 260: + case 261: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3292 "parser.y" +#line 3315 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_modulo((yyval.value).c); (yyval.value).t = TYPE_NUMBER; @@ -7217,11 +7241,11 @@ PASS2 - case 261: + case 262: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3296 "parser.y" +#line 3319 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); if(BOTH_INT((yyvsp[(1) - (3)].value).t, (yyvsp[(3) - (3)].value).t)) { (yyval.value).c = abc_add_i((yyval.value).c); @@ -7236,11 +7260,11 @@ PASS2 - case 262: + case 263: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3305 "parser.y" +#line 3328 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); if(BOTH_INT((yyvsp[(1) - (3)].value).t,(yyvsp[(3) - (3)].value).t)) { (yyval.value).c = abc_subtract_i((yyval.value).c); @@ -7255,11 +7279,11 @@ PASS2 - case 263: + case 264: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3314 "parser.y" +#line 3337 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); if(BOTH_INT((yyvsp[(1) - (3)].value).t,(yyvsp[(3) - (3)].value).t)) { (yyval.value).c = abc_multiply_i((yyval.value).c); @@ -7274,11 +7298,11 @@ PASS2 - case 264: + case 265: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3324 "parser.y" +#line 3347 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c,(yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_in((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; @@ -7288,11 +7312,11 @@ PASS2 - case 265: + case 266: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3329 "parser.y" +#line 3352 "parser.y" {char use_astype=0; // flash player's astype works differently than astypelate if(use_astype && TYPE_IS_CLASS((yyvsp[(3) - (3)].value).t) && (yyvsp[(3) - (3)].value).t->data) { MULTINAME(m, (classinfo_t*)((yyvsp[(3) - (3)].value).t->data)); @@ -7309,11 +7333,11 @@ PASS2 - case 266: + case 267: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3342 "parser.y" +#line 3365 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c, (yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_instanceof((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; @@ -7323,11 +7347,11 @@ PASS2 - case 267: + case 268: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3347 "parser.y" +#line 3370 "parser.y" {(yyval.value).c = code_append((yyvsp[(1) - (3)].value).c, (yyvsp[(3) - (3)].value).c); (yyval.value).c = abc_istypelate((yyval.value).c); (yyval.value).t = TYPE_BOOLEAN; @@ -7337,11 +7361,11 @@ PASS2 - case 268: + case 269: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3352 "parser.y" +#line 3375 "parser.y" { (yyval.value).c = (yyvsp[(3) - (4)].value).c; (yyval.value).c = abc_typeof((yyval.value).c); @@ -7352,11 +7376,11 @@ PASS2 - case 269: + case 270: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3358 "parser.y" +#line 3381 "parser.y" { (yyval.value).c = cut_last_push((yyvsp[(2) - (2)].value).c); (yyval.value).c = abc_pushundefined((yyval.value).c); @@ -7367,11 +7391,11 @@ PASS2 - case 270: + case 271: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3364 "parser.y" +#line 3387 "parser.y" { (yyval.value).c = abc_pushundefined(0); (yyval.value).t = TYPE_ANY; } @@ -7380,22 +7404,22 @@ PASS2 - case 271: + case 272: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3368 "parser.y" +#line 3391 "parser.y" {(yyval.value)=(yyvsp[(2) - (3)].value);} } break; - case 272: + case 273: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3370 "parser.y" +#line 3393 "parser.y" { (yyval.value)=(yyvsp[(2) - (2)].value); if(IS_INT((yyvsp[(2) - (2)].value).t)) { @@ -7411,11 +7435,11 @@ PASS2 - case 273: + case 274: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3381 "parser.y" +#line 3404 "parser.y" { (yyval.value).c = (yyvsp[(1) - (4)].value).c; (yyval.value).c = code_append((yyval.value).c, (yyvsp[(3) - (4)].value).c); @@ -7429,11 +7453,11 @@ PASS2 - case 274: + case 275: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3390 "parser.y" +#line 3413 "parser.y" { (yyval.value).c = code_new(); (yyval.value).c = code_append((yyval.value).c, (yyvsp[(2) - (3)].value_list).cc); @@ -7445,33 +7469,33 @@ PASS2 - case 275: + case 276: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3397 "parser.y" +#line 3420 "parser.y" {(yyval.value_list).cc=0;(yyval.value_list).number=0;} } break; - case 276: + case 277: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3398 "parser.y" +#line 3421 "parser.y" {(yyval.value_list)=(yyvsp[(1) - (1)].value_list);} } break; - case 277: + case 278: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3400 "parser.y" +#line 3423 "parser.y" { (yyval.value_list).cc = 0; (yyval.value_list).cc = code_append((yyval.value_list).cc, (yyvsp[(1) - (3)].value).c); @@ -7483,11 +7507,11 @@ PASS2 - case 278: + case 279: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3406 "parser.y" +#line 3429 "parser.y" { (yyval.value_list).cc = (yyvsp[(1) - (5)].value_list).cc; (yyval.value_list).number = (yyvsp[(1) - (5)].value_list).number+2; @@ -7499,11 +7523,11 @@ PASS2 - case 279: + case 280: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3415 "parser.y" +#line 3438 "parser.y" { (yyval.value).c = code_new(); (yyval.value).c = code_append((yyval.value).c, (yyvsp[(2) - (3)].value_list).cc); @@ -7515,11 +7539,11 @@ PASS2 - case 280: + case 281: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3422 "parser.y" +#line 3445 "parser.y" { code_t*c = (yyvsp[(3) - (3)].value).c; if(BOTH_INT((yyvsp[(1) - (3)].value).t,(yyvsp[(3) - (3)].value).t)) { @@ -7536,11 +7560,11 @@ PASS2 - case 281: + case 282: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3434 "parser.y" +#line 3457 "parser.y" { code_t*c = abc_modulo((yyvsp[(3) - (3)].value).c); c=converttype(c, join_types((yyvsp[(1) - (3)].value).t, (yyvsp[(3) - (3)].value).t, '%'), (yyvsp[(1) - (3)].value).t); @@ -7552,11 +7576,11 @@ PASS2 - case 282: + case 283: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3440 "parser.y" +#line 3463 "parser.y" { code_t*c = abc_lshift((yyvsp[(3) - (3)].value).c); c=converttype(c, join_types((yyvsp[(1) - (3)].value).t, (yyvsp[(3) - (3)].value).t, '<'), (yyvsp[(1) - (3)].value).t); @@ -7568,11 +7592,11 @@ PASS2 - case 283: + case 284: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3446 "parser.y" +#line 3469 "parser.y" { code_t*c = abc_rshift((yyvsp[(3) - (3)].value).c); c=converttype(c, join_types((yyvsp[(1) - (3)].value).t, (yyvsp[(3) - (3)].value).t, '>'), (yyvsp[(1) - (3)].value).t); @@ -7584,11 +7608,11 @@ PASS2 - case 284: + case 285: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3452 "parser.y" +#line 3475 "parser.y" { code_t*c = abc_urshift((yyvsp[(3) - (3)].value).c); c=converttype(c, join_types((yyvsp[(1) - (3)].value).t, (yyvsp[(3) - (3)].value).t, 'U'), (yyvsp[(1) - (3)].value).t); @@ -7600,11 +7624,11 @@ PASS2 - case 285: + case 286: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3458 "parser.y" +#line 3481 "parser.y" { code_t*c = abc_divide((yyvsp[(3) - (3)].value).c); c=converttype(c, join_types((yyvsp[(1) - (3)].value).t, (yyvsp[(3) - (3)].value).t, '/'), (yyvsp[(1) - (3)].value).t); @@ -7616,11 +7640,11 @@ PASS2 - case 286: + case 287: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3464 "parser.y" +#line 3487 "parser.y" { code_t*c = abc_bitor((yyvsp[(3) - (3)].value).c); c=converttype(c, TYPE_INT, (yyvsp[(1) - (3)].value).t); @@ -7632,11 +7656,11 @@ PASS2 - case 287: + case 288: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3470 "parser.y" +#line 3493 "parser.y" { code_t*c = abc_bitxor((yyvsp[(3) - (3)].value).c); c=converttype(c, TYPE_INT, (yyvsp[(1) - (3)].value).t); @@ -7648,11 +7672,11 @@ PASS2 - case 288: + case 289: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3476 "parser.y" +#line 3499 "parser.y" { code_t*c = (yyvsp[(3) - (3)].value).c; @@ -7671,11 +7695,11 @@ PASS2 - case 289: + case 290: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3489 "parser.y" +#line 3512 "parser.y" { code_t*c = (yyvsp[(3) - (3)].value).c; if(TYPE_IS_INT((yyvsp[(1) - (3)].value).t)) { c=abc_subtract_i(c); @@ -7692,11 +7716,11 @@ PASS2 - case 290: + case 291: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3500 "parser.y" +#line 3523 "parser.y" { code_t*c = 0; c = code_append(c, (yyvsp[(3) - (3)].value).c); c = converttype(c, (yyvsp[(3) - (3)].value).t, (yyvsp[(1) - (3)].value).t); @@ -7708,11 +7732,11 @@ PASS2 - case 291: + case 292: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3507 "parser.y" +#line 3530 "parser.y" { (yyval.value).t = join_types((yyvsp[(3) - (5)].value).t,(yyvsp[(5) - (5)].value).t,'?'); (yyval.value).c = (yyvsp[(1) - (5)].value).c; @@ -7730,11 +7754,11 @@ PASS2 - case 292: + case 293: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3520 "parser.y" +#line 3543 "parser.y" { code_t*c = 0; classinfo_t*type = (yyvsp[(1) - (2)].value).t; if(is_getlocal((yyvsp[(1) - (2)].value).c) && (TYPE_IS_INT((yyvsp[(1) - (2)].value).t) || TYPE_IS_NUMBER((yyvsp[(1) - (2)].value).t))) { @@ -7765,11 +7789,11 @@ PASS2 - case 293: + case 294: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3547 "parser.y" +#line 3570 "parser.y" { code_t*c = 0; classinfo_t*type = (yyvsp[(1) - (2)].value).t; if(TYPE_IS_INT(type) || TYPE_IS_UINT(type)) { @@ -7788,11 +7812,11 @@ PASS2 - case 294: + case 295: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3561 "parser.y" +#line 3584 "parser.y" { code_t*c = 0; classinfo_t*type = (yyvsp[(2) - (2)].value).t; if(TYPE_IS_INT(type) || TYPE_IS_UINT(type)) { @@ -7811,11 +7835,11 @@ PASS2 - case 295: + case 296: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3575 "parser.y" +#line 3598 "parser.y" { code_t*c = 0; classinfo_t*type = (yyvsp[(2) - (2)].value).t; if(TYPE_IS_INT(type) || TYPE_IS_UINT(type)) { @@ -7834,11 +7858,11 @@ PASS2 - case 296: + case 297: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3590 "parser.y" +#line 3613 "parser.y" { if(!state->cls->info) syntaxerror("super keyword not allowed outside a class"); classinfo_t*t = state->cls->info->superclass; @@ -7857,11 +7881,11 @@ PASS2 - case 297: + case 298: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3604 "parser.y" +#line 3627 "parser.y" { // attribute TODO (yyval.value).c = abc_pushundefined(0); @@ -7873,11 +7897,11 @@ PASS2 - case 298: + case 299: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3611 "parser.y" +#line 3634 "parser.y" { // child attribute TODO (yyval.value).c = abc_pushundefined(0); @@ -7889,11 +7913,11 @@ PASS2 - case 299: + case 300: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3618 "parser.y" +#line 3641 "parser.y" { // namespace declaration TODO (yyval.value).c = abc_pushundefined(0); @@ -7905,11 +7929,11 @@ PASS2 - case 300: + case 301: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3625 "parser.y" +#line 3648 "parser.y" { // descendants TODO (yyval.value).c = abc_pushundefined(0); @@ -7921,11 +7945,11 @@ PASS2 - case 301: + case 302: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3632 "parser.y" +#line 3655 "parser.y" { // filter TODO (yyval.value).c = abc_pushundefined(0); @@ -7937,11 +7961,11 @@ PASS2 - case 302: + case 303: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3643 "parser.y" +#line 3666 "parser.y" { (yyval.value).c = (yyvsp[(1) - (3)].value).c; classinfo_t*t = (yyvsp[(1) - (3)].value).t; @@ -7996,11 +8020,11 @@ PASS2 - case 303: + case 304: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3693 "parser.y" +#line 3716 "parser.y" { PASS1 /* Queue unresolved identifiers for checking against the parent @@ -8108,16 +8132,16 @@ PASS2 - case 304: + case 305: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3798 "parser.y" +#line 3821 "parser.y" { PASS12 NEW(namespace_decl_t,n); n->name = (yyvsp[(2) - (2)].id); - n->url = 0; + n->url = (yyvsp[(2) - (2)].id); (yyval.namespace_decl)=n; } } @@ -8125,11 +8149,11 @@ PASS2 - case 305: + case 306: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3805 "parser.y" +#line 3828 "parser.y" { PASS12 NEW(namespace_decl_t,n); @@ -8142,11 +8166,11 @@ PASS2 - case 306: + case 307: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3812 "parser.y" +#line 3835 "parser.y" { PASS12 NEW(namespace_decl_t,n); @@ -8159,15 +8183,23 @@ PASS2 - case 307: + case 308: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3819 "parser.y" +#line 3842 "parser.y" { PASS12 - list_append(state->new_namespaces, (yyvsp[(2) - (2)].namespace_decl)); - tokenizer_register_namespace((yyvsp[(2) - (2)].namespace_decl)->name); + register_namespace((yyvsp[(2) - (2)].namespace_decl)->name, (yyvsp[(2) - (2)].namespace_decl)->url); + + namespace_t access = modifiers2access(&(yyvsp[(1) - (2)].flags)); + varinfo_t* var = varinfo_register_global(access.access, state->package, (yyvsp[(2) - (2)].namespace_decl)->name); + var->type = TYPE_NAMESPACE; + namespace_t ns; + ns.access = ACCESS_NAMESPACE; + ns.name = (yyvsp[(2) - (2)].namespace_decl)->url; + var->value = constant_new_namespace(&ns); + (yyval.code)=0; } } @@ -8175,20 +8207,15 @@ PASS2 - case 308: + case 309: if(as3_pass==2) { /* Line 1464 of skeleton.m4 */ -#line 3826 "parser.y" +#line 3857 "parser.y" { PASS12 - NEW(namespace_decl_t,n); - n->name = (yyvsp[(3) - (3)].classinfo)->name; - n->url = 0; - /* FIXME: for pass2, we should now try to figure out what the URL of - this thing is */ - list_append(state->new_namespaces, n); - tokenizer_register_namespace((yyvsp[(3) - (3)].classinfo)->name); + char*url = 0; + register_namespace((yyvsp[(3) - (3)].classinfo)->name, url); (yyval.code)=0; } } @@ -8198,7 +8225,7 @@ PASS2 /* Line 1464 of skeleton.m4 */ -#line 8202 "parser.tab.c" +#line 8229 "parser.tab.c" default: break; } YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); diff --git a/lib/as3/parser.y b/lib/as3/parser.y index d6cf02a..1d18b74 100644 --- a/lib/as3/parser.y +++ b/lib/as3/parser.y @@ -356,6 +356,7 @@ typedef struct _state { dict_t*imports; namespace_list_t*active_namespaces; namespace_decl_list_t*new_namespaces; + dict_t*namespace2url; char has_own_imports; char new_vars; // e.g. transition between two functions @@ -445,6 +446,7 @@ static void new_state() state->vars = dict_new(); state->old = oldstate; state->new_vars = 0; + state->namespace2url = 0; } static void state_has_imports() { @@ -502,6 +504,8 @@ static void old_state() tokenizer_unregister_namespace(nl->namespace_decl->name); nl = nl->next; } + if(leaving->namespace2url) + dict_destroy(leaving->namespace2url); if(as3_pass>1 && leaving->method && leaving->method != state->method && !leaving->method->inner) { free(leaving->method); @@ -844,7 +848,14 @@ static namespace_t modifiers2access(modifiers_t*mod) if(mod->flags&(FLAG_PRIVATE|FLAG_PROTECTED|FLAG_PACKAGEINTERNAL)) syntaxerror("invalid combination of access levels and namespaces"); ns.access = ACCESS_NAMESPACE; - ns.name = mod->ns; + state_t*s = state; + const char*url = (const char*)dict_lookup(state->namespace2url, mod->ns); + if(!url) { + /* shouldn't happen- the tokenizer only reports something as a namespace + if it was already registered */ + syntaxerror("unknown namespace: %s", mod->ns); + } + ns.name = url; } else if(mod->flags&FLAG_PUBLIC) { if(mod->flags&(FLAG_PRIVATE|FLAG_PROTECTED|FLAG_PACKAGEINTERNAL)) syntaxerror("invalid combination of access levels"); @@ -1163,6 +1174,7 @@ void check_code_for_break(code_t*c) static void check_constant_against_type(classinfo_t*t, constant_t*c) { + return; #define xassert(b) if(!(b)) syntaxerror("Invalid default value %s for type '%s'", constant_tostring(c), t->name) if(TYPE_IS_NUMBER(t)) { xassert(c->type == CONSTANT_FLOAT @@ -1373,8 +1385,6 @@ static void startfunction(modifiers_t*mod, enum yytokentype getset, char*name, static abc_method_t* endfunction(modifiers_t*mod, enum yytokentype getset, char*name, params_t*params, classinfo_t*return_type, code_t*body) { - int flags = mod?mod->flags:0; - if(as3_pass==1) { // store inner methods in variables function_initvars(state->method, 0, 0, 0); @@ -1447,10 +1457,10 @@ static abc_method_t* endfunction(modifiers_t*mod, enum yytokentype getset, char* } else if(state->method->is_constructor) { f = abc_class_getconstructor(state->cls->abc, type2); } else if(!state->method->is_global) { - namespace_t mname_ns = {state->method->info->access, ""}; + namespace_t mname_ns = modifiers2access(mod); multiname_t mname = {QNAME, &mname_ns, 0, name}; - if(flags&FLAG_STATIC) + if(mod->flags&FLAG_STATIC) f = abc_class_staticmethod(state->cls->abc, type2, &mname); else f = abc_class_method(state->cls->abc, type2, &mname); @@ -1466,7 +1476,7 @@ static abc_method_t* endfunction(modifiers_t*mod, enum yytokentype getset, char* //flash doesn't seem to allow us to access function slots //state->method->info->slot = slot; - if(flags&FLAG_OVERRIDE) f->trait->attributes |= TRAIT_ATTR_OVERRIDE; + if(mod->flags&FLAG_OVERRIDE) f->trait->attributes |= TRAIT_ATTR_OVERRIDE; if(getset == KW_GET) f->trait->kind = TRAIT_GETTER; if(getset == KW_SET) f->trait->kind = TRAIT_SETTER; if(params->varargs) f->flags |= METHOD_NEED_REST; @@ -1940,6 +1950,18 @@ char is_break_or_jump(code_t*c) return 0; } +void register_namespace(const char*name, const char*url) +{ + NEW(namespace_decl_t,n); + n->name = name; + n->url = url; + if(!state->namespace2url) { + state->namespace2url = dict_new(); + } + dict_put(state->namespace2url, name, url); + list_append(state->new_namespaces, n); + tokenizer_register_namespace(name); +} #define IS_FINALLY_TARGET(op) \ ((op) == OPCODE___CONTINUE__ || \ @@ -2580,6 +2602,7 @@ WITH : WITH_HEAD CODEBLOCK { X_IDENTIFIER: T_IDENTIFIER | "package" {PASS12 $$="package";} + | T_NAMESPACE {PASS12 $$=$1;} PACKAGE: PACKAGE '.' X_IDENTIFIER {PASS12 $$ = concat3($1,".",$3);free($1);$1=0;} PACKAGE: X_IDENTIFIER {PASS12 $$=strdup($1);} @@ -2910,7 +2933,7 @@ INNERFUNCTION: "function" MAYBE_IDENTIFIER '(' MAYBE_PARAM_LIST ')' MAYBETYPE /* ------------- package + class ids --------------- */ -CLASS: T_IDENTIFIER { +CLASS: X_IDENTIFIER { PASS1 NEW(unresolvedinfo_t,c); memset(c, 0, sizeof(*c)); c->kind = INFOTYPE_UNRESOLVED; @@ -2929,7 +2952,7 @@ CLASS: T_IDENTIFIER { $$ = (classinfo_t*)s; } -PACKAGEANDCLASS : PACKAGE '.' T_IDENTIFIER { +PACKAGEANDCLASS : PACKAGE '.' X_IDENTIFIER { PASS1 NEW(unresolvedinfo_t,c); memset(c, 0, sizeof(*c)); c->kind = INFOTYPE_UNRESOLVED; @@ -3799,7 +3822,7 @@ NAMESPACE_ID : "namespace" T_IDENTIFIER { PASS12 NEW(namespace_decl_t,n); n->name = $2; - n->url = 0; + n->url = $2; $$=n; } NAMESPACE_ID : "namespace" T_IDENTIFIER '=' T_IDENTIFIER { @@ -3818,20 +3841,23 @@ NAMESPACE_ID : "namespace" T_IDENTIFIER '=' T_STRING { } NAMESPACE_DECLARATION : MAYBE_MODIFIERS NAMESPACE_ID { PASS12 - list_append(state->new_namespaces, $2); - tokenizer_register_namespace($2->name); + register_namespace($2->name, $2->url); + + namespace_t access = modifiers2access(&$1); + varinfo_t* var = varinfo_register_global(access.access, state->package, $2->name); + var->type = TYPE_NAMESPACE; + namespace_t ns; + ns.access = ACCESS_NAMESPACE; + ns.name = $2->url; + var->value = constant_new_namespace(&ns); + $$=0; } USE_NAMESPACE : "use" "namespace" CLASS_SPEC { PASS12 - NEW(namespace_decl_t,n); - n->name = $3->name; - n->url = 0; - /* FIXME: for pass2, we should now try to figure out what the URL of - this thing is */ - list_append(state->new_namespaces, n); - tokenizer_register_namespace($3->name); + char*url = 0; + register_namespace($3->name, url); $$=0; } diff --git a/lib/as3/registry.c b/lib/as3/registry.c index cbd931f..316c71f 100644 --- a/lib/as3/registry.c +++ b/lib/as3/registry.c @@ -404,6 +404,11 @@ classinfo_t* registry_getregexpclass() { if(!c) c = (classinfo_t*)registry_safefind("", "RegExp"); return c; } +classinfo_t* registry_getnamespaceclass() { + static classinfo_t*c = 0; + if(!c) c = (classinfo_t*)registry_safefind("", "Namespace"); + return c; +} classinfo_t* registry_getMovieClip() { static classinfo_t*c = 0; if(!c) c = (classinfo_t*)registry_safefind("flash.display", "MovieClip"); diff --git a/lib/as3/registry.h b/lib/as3/registry.h index 4d58394..60ac6cc 100644 --- a/lib/as3/registry.h +++ b/lib/as3/registry.h @@ -152,6 +152,7 @@ classinfo_t* registry_getregexpclass(); classinfo_t* registry_getbooleanclass(); classinfo_t* registry_getMovieClip(); classinfo_t* registry_getclassclass(classinfo_t*a); +classinfo_t* registry_getnamespaceclass(); char* infotypename(slotinfo_t*s); @@ -173,6 +174,8 @@ char* infotypename(slotinfo_t*s); #define TYPE_IS_STRING(t) ((t) == registry_getstringclass()) #define TYPE_REGEXP registry_getregexpclass() #define TYPE_IS_REGEXP(t) ((t) == registry_getregexpclass()) +#define TYPE_NAMESPACE registry_getnamespaceclass() +#define TYPE_IS_NAMESPACE(t) ((t) == registry_getnamespaceclass()) #define TYPE_OBJECT registry_getobjectclass() diff --git a/lib/as3/tokenizer.lex b/lib/as3/tokenizer.lex index 9ac9607..7752bd5 100644 --- a/lib/as3/tokenizer.lex +++ b/lib/as3/tokenizer.lex @@ -295,12 +295,6 @@ static void handleCData(char*s, int len) static void handleString(char*s, int len) { - if(as3_pass < 2) { - // don't bother decoding strings in pass 1 - memset(&a3_lval, 0, sizeof(a3_lval)); - return; - } - if(s[0]=='"') { if(s[len-1]!='"') syntaxerror("String doesn't end with '\"'"); s++;len-=2; @@ -310,7 +304,6 @@ static void handleString(char*s, int len) s++;len-=2; } else syntaxerror("String incorrectly terminated"); - a3_lval.str = string_unescape(s, len); } diff --git a/lib/as3/tokenizer.yy.c b/lib/as3/tokenizer.yy.c index af61b5b..9d58314 100644 --- a/lib/as3/tokenizer.yy.c +++ b/lib/as3/tokenizer.yy.c @@ -1610,12 +1610,6 @@ static void handleCData(char*s, int len) static void handleString(char*s, int len) { - if(as3_pass < 2) { - // don't bother decoding strings in pass 1 - memset(&a3_lval, 0, sizeof(a3_lval)); - return; - } - if(s[0]=='"') { if(s[len-1]!='"') syntaxerror("String doesn't end with '\"'"); s++;len-=2; @@ -1625,7 +1619,6 @@ static void handleString(char*s, int len) s++;len-=2; } else syntaxerror("String incorrectly terminated"); - a3_lval.str = string_unescape(s, len); } @@ -1872,7 +1865,7 @@ static inline int handleIdentifier() -#line 1876 "tokenizer.yy.c" +#line 1869 "tokenizer.yy.c" #define INITIAL 0 #define REGEXPOK 1 @@ -2059,11 +2052,11 @@ YY_DECL register char *yy_cp, *yy_bp; register int yy_act; -#line 582 "tokenizer.lex" +#line 575 "tokenizer.lex" -#line 2067 "tokenizer.yy.c" +#line 2060 "tokenizer.yy.c" if ( !(yy_init) ) { @@ -2146,18 +2139,18 @@ do_action: /* This label is used only to access EOF actions. */ case 1: /* rule 1 can match eol */ YY_RULE_SETUP -#line 585 "tokenizer.lex" +#line 578 "tokenizer.lex" {l(); /* single line comment */} YY_BREAK case 2: /* rule 2 can match eol */ YY_RULE_SETUP -#line 586 "tokenizer.lex" +#line 579 "tokenizer.lex" {l(); /* multi line comment */} YY_BREAK case 3: YY_RULE_SETUP -#line 587 "tokenizer.lex" +#line 580 "tokenizer.lex" {syntaxerror("syntax error: unterminated comment", as3_text);} YY_BREAK case 4: @@ -2166,7 +2159,7 @@ case 4: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 589 "tokenizer.lex" +#line 582 "tokenizer.lex" {l();handleInclude(as3_text, as3_leng, 1);} YY_BREAK case 5: @@ -2175,25 +2168,25 @@ case 5: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 590 "tokenizer.lex" +#line 583 "tokenizer.lex" {l();handleInclude(as3_text, as3_leng, 0);} YY_BREAK case 6: /* rule 6 can match eol */ YY_RULE_SETUP -#line 591 "tokenizer.lex" +#line 584 "tokenizer.lex" {l(); BEGIN(INITIAL);handleString(as3_text, as3_leng);return T_STRING;} YY_BREAK case 7: /* rule 7 can match eol */ YY_RULE_SETUP -#line 592 "tokenizer.lex" +#line 585 "tokenizer.lex" {l(); BEGIN(INITIAL);handleCData(as3_text, as3_leng);return T_STRING;} YY_BREAK case 8: YY_RULE_SETUP -#line 595 "tokenizer.lex" +#line 588 "tokenizer.lex" {c(); BEGIN(INITIAL);return handleregexp();} YY_BREAK case 9: @@ -2202,7 +2195,7 @@ case 9: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 596 "tokenizer.lex" +#line 589 "tokenizer.lex" {c(); BEGIN(INITIAL);return handlehex();} YY_BREAK case 10: @@ -2211,7 +2204,7 @@ case 10: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 597 "tokenizer.lex" +#line 590 "tokenizer.lex" {c(); BEGIN(INITIAL);return handlehexfloat();} YY_BREAK case 11: @@ -2220,7 +2213,7 @@ case 11: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 598 "tokenizer.lex" +#line 591 "tokenizer.lex" {c(); BEGIN(INITIAL);return handleint();} YY_BREAK case 12: @@ -2229,29 +2222,29 @@ case 12: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 599 "tokenizer.lex" +#line 592 "tokenizer.lex" {c(); BEGIN(INITIAL);return handlefloat();} YY_BREAK case 13: YY_RULE_SETUP -#line 602 "tokenizer.lex" +#line 595 "tokenizer.lex" {c(); BEGIN(REGEXPOK);return m(T_DICTSTART);} YY_BREAK case 14: YY_RULE_SETUP -#line 603 "tokenizer.lex" +#line 596 "tokenizer.lex" {c(); BEGIN(INITIAL); return m('{');} YY_BREAK case 15: YY_RULE_SETUP -#line 605 "tokenizer.lex" +#line 598 "tokenizer.lex" {/* utf 8 bom */} YY_BREAK case 16: /* rule 16 can match eol */ YY_RULE_SETUP -#line 606 "tokenizer.lex" +#line 599 "tokenizer.lex" {l();} YY_BREAK case 17: @@ -2260,7 +2253,7 @@ case 17: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 608 "tokenizer.lex" +#line 601 "tokenizer.lex" {c(); BEGIN(INITIAL);return handlehex();} YY_BREAK case 18: @@ -2269,7 +2262,7 @@ case 18: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 609 "tokenizer.lex" +#line 602 "tokenizer.lex" {c(); BEGIN(INITIAL);return handlehexfloat();} YY_BREAK case 19: @@ -2278,7 +2271,7 @@ case 19: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 610 "tokenizer.lex" +#line 603 "tokenizer.lex" {c(); BEGIN(INITIAL);return handleint();} YY_BREAK case 20: @@ -2287,12 +2280,12 @@ case 20: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 611 "tokenizer.lex" +#line 604 "tokenizer.lex" {c(); BEGIN(INITIAL);return handlefloat();} YY_BREAK case 21: YY_RULE_SETUP -#line 613 "tokenizer.lex" +#line 606 "tokenizer.lex" {/* for debugging: generates a tokenizer-level error */ syntaxerror("3rr0r");} YY_BREAK @@ -2302,7 +2295,7 @@ case 22: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 616 "tokenizer.lex" +#line 609 "tokenizer.lex" {l();BEGIN(INITIAL);handleLabel(as3_text, as3_leng-3);return T_FOR;} YY_BREAK case 23: @@ -2311,7 +2304,7 @@ case 23: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 617 "tokenizer.lex" +#line 610 "tokenizer.lex" {l();BEGIN(INITIAL);handleLabel(as3_text, as3_leng-2);return T_DO;} YY_BREAK case 24: @@ -2320,7 +2313,7 @@ case 24: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 618 "tokenizer.lex" +#line 611 "tokenizer.lex" {l();BEGIN(INITIAL);handleLabel(as3_text, as3_leng-5);return T_WHILE;} YY_BREAK case 25: @@ -2329,432 +2322,432 @@ case 25: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up as3_text again */ YY_RULE_SETUP -#line 619 "tokenizer.lex" +#line 612 "tokenizer.lex" {l();BEGIN(INITIAL);handleLabel(as3_text, as3_leng-6);return T_SWITCH;} YY_BREAK case 26: YY_RULE_SETUP -#line 620 "tokenizer.lex" +#line 613 "tokenizer.lex" {c();BEGIN(INITIAL);a3_lval.id="";return T_FOR;} YY_BREAK case 27: YY_RULE_SETUP -#line 621 "tokenizer.lex" +#line 614 "tokenizer.lex" {c();BEGIN(INITIAL);a3_lval.id="";return T_DO;} YY_BREAK case 28: YY_RULE_SETUP -#line 622 "tokenizer.lex" +#line 615 "tokenizer.lex" {c();BEGIN(INITIAL);a3_lval.id="";return T_WHILE;} YY_BREAK case 29: YY_RULE_SETUP -#line 623 "tokenizer.lex" +#line 616 "tokenizer.lex" {c();BEGIN(INITIAL);a3_lval.id="";return T_SWITCH;} YY_BREAK case 30: YY_RULE_SETUP -#line 625 "tokenizer.lex" +#line 618 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_ANDAND);} YY_BREAK case 31: YY_RULE_SETUP -#line 626 "tokenizer.lex" +#line 619 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_OROR);} YY_BREAK case 32: YY_RULE_SETUP -#line 627 "tokenizer.lex" +#line 620 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_NE);} YY_BREAK case 33: YY_RULE_SETUP -#line 628 "tokenizer.lex" +#line 621 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_NEE);} YY_BREAK case 34: YY_RULE_SETUP -#line 629 "tokenizer.lex" +#line 622 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_EQEQEQ);} YY_BREAK case 35: YY_RULE_SETUP -#line 630 "tokenizer.lex" +#line 623 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_EQEQ);} YY_BREAK case 36: YY_RULE_SETUP -#line 631 "tokenizer.lex" +#line 624 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_GE);} YY_BREAK case 37: YY_RULE_SETUP -#line 632 "tokenizer.lex" +#line 625 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_LE);} YY_BREAK case 38: YY_RULE_SETUP -#line 633 "tokenizer.lex" +#line 626 "tokenizer.lex" {c();BEGIN(INITIAL);return m(T_MINUSMINUS);} YY_BREAK case 39: YY_RULE_SETUP -#line 634 "tokenizer.lex" +#line 627 "tokenizer.lex" {c();BEGIN(INITIAL);return m(T_PLUSPLUS);} YY_BREAK case 40: YY_RULE_SETUP -#line 635 "tokenizer.lex" +#line 628 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_PLUSBY);} YY_BREAK case 41: YY_RULE_SETUP -#line 636 "tokenizer.lex" +#line 629 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_XORBY);} YY_BREAK case 42: YY_RULE_SETUP -#line 637 "tokenizer.lex" +#line 630 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_MINUSBY);} YY_BREAK case 43: YY_RULE_SETUP -#line 638 "tokenizer.lex" +#line 631 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_DIVBY);} YY_BREAK case 44: YY_RULE_SETUP -#line 639 "tokenizer.lex" +#line 632 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_MODBY);} YY_BREAK case 45: YY_RULE_SETUP -#line 640 "tokenizer.lex" +#line 633 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_MULBY);} YY_BREAK case 46: YY_RULE_SETUP -#line 641 "tokenizer.lex" +#line 634 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_ORBY);} YY_BREAK case 47: YY_RULE_SETUP -#line 642 "tokenizer.lex" +#line 635 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_SHRBY);} YY_BREAK case 48: YY_RULE_SETUP -#line 643 "tokenizer.lex" +#line 636 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_SHLBY);} YY_BREAK case 49: YY_RULE_SETUP -#line 644 "tokenizer.lex" +#line 637 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_USHRBY);} YY_BREAK case 50: YY_RULE_SETUP -#line 645 "tokenizer.lex" +#line 638 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_SHL);} YY_BREAK case 51: YY_RULE_SETUP -#line 646 "tokenizer.lex" +#line 639 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_USHR);} YY_BREAK case 52: YY_RULE_SETUP -#line 647 "tokenizer.lex" +#line 640 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_SHR);} YY_BREAK case 53: YY_RULE_SETUP -#line 648 "tokenizer.lex" +#line 641 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_DOTDOTDOT);} YY_BREAK case 54: YY_RULE_SETUP -#line 649 "tokenizer.lex" +#line 642 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_DOTDOT);} YY_BREAK case 55: YY_RULE_SETUP -#line 650 "tokenizer.lex" +#line 643 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m('.');} YY_BREAK case 56: YY_RULE_SETUP -#line 651 "tokenizer.lex" +#line 644 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(T_COLONCOLON);} YY_BREAK case 57: YY_RULE_SETUP -#line 652 "tokenizer.lex" +#line 645 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(':');} YY_BREAK case 58: YY_RULE_SETUP -#line 653 "tokenizer.lex" +#line 646 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_INSTANCEOF);} YY_BREAK case 59: YY_RULE_SETUP -#line 654 "tokenizer.lex" +#line 647 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_IMPLEMENTS);} YY_BREAK case 60: YY_RULE_SETUP -#line 655 "tokenizer.lex" +#line 648 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_INTERFACE);} YY_BREAK case 61: YY_RULE_SETUP -#line 656 "tokenizer.lex" +#line 649 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_NAMESPACE);} YY_BREAK case 62: YY_RULE_SETUP -#line 657 "tokenizer.lex" +#line 650 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_PROTECTED);} YY_BREAK case 63: YY_RULE_SETUP -#line 658 "tokenizer.lex" +#line 651 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_UNDEFINED);} YY_BREAK case 64: YY_RULE_SETUP -#line 659 "tokenizer.lex" +#line 652 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_CONTINUE);} YY_BREAK case 65: YY_RULE_SETUP -#line 660 "tokenizer.lex" +#line 653 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_OVERRIDE);} YY_BREAK case 66: YY_RULE_SETUP -#line 661 "tokenizer.lex" +#line 654 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_INTERNAL);} YY_BREAK case 67: YY_RULE_SETUP -#line 662 "tokenizer.lex" +#line 655 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_FUNCTION);} YY_BREAK case 68: YY_RULE_SETUP -#line 663 "tokenizer.lex" +#line 656 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_FINALLY);} YY_BREAK case 69: YY_RULE_SETUP -#line 664 "tokenizer.lex" +#line 657 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_DEFAULT);} YY_BREAK case 70: YY_RULE_SETUP -#line 665 "tokenizer.lex" +#line 658 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_PACKAGE);} YY_BREAK case 71: YY_RULE_SETUP -#line 666 "tokenizer.lex" +#line 659 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_PRIVATE);} YY_BREAK case 72: YY_RULE_SETUP -#line 667 "tokenizer.lex" +#line 660 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_DYNAMIC);} YY_BREAK case 73: YY_RULE_SETUP -#line 668 "tokenizer.lex" +#line 661 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_EXTENDS);} YY_BREAK case 74: YY_RULE_SETUP -#line 669 "tokenizer.lex" +#line 662 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_DELETE);} YY_BREAK case 75: YY_RULE_SETUP -#line 670 "tokenizer.lex" +#line 663 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_RETURN);} YY_BREAK case 76: YY_RULE_SETUP -#line 671 "tokenizer.lex" +#line 664 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_PUBLIC);} YY_BREAK case 77: YY_RULE_SETUP -#line 672 "tokenizer.lex" +#line 665 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_NATIVE);} YY_BREAK case 78: YY_RULE_SETUP -#line 673 "tokenizer.lex" +#line 666 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_STATIC);} YY_BREAK case 79: YY_RULE_SETUP -#line 674 "tokenizer.lex" +#line 667 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_IMPORT);} YY_BREAK case 80: YY_RULE_SETUP -#line 675 "tokenizer.lex" +#line 668 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_TYPEOF);} YY_BREAK case 81: YY_RULE_SETUP -#line 676 "tokenizer.lex" +#line 669 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_THROW);} YY_BREAK case 82: YY_RULE_SETUP -#line 677 "tokenizer.lex" +#line 670 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_CLASS);} YY_BREAK case 83: YY_RULE_SETUP -#line 678 "tokenizer.lex" +#line 671 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_CONST);} YY_BREAK case 84: YY_RULE_SETUP -#line 679 "tokenizer.lex" +#line 672 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_CATCH);} YY_BREAK case 85: YY_RULE_SETUP -#line 680 "tokenizer.lex" +#line 673 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_FINAL);} YY_BREAK case 86: YY_RULE_SETUP -#line 681 "tokenizer.lex" +#line 674 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_FALSE);} YY_BREAK case 87: YY_RULE_SETUP -#line 682 "tokenizer.lex" +#line 675 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_BREAK);} YY_BREAK case 88: YY_RULE_SETUP -#line 683 "tokenizer.lex" +#line 676 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_SUPER);} YY_BREAK case 89: YY_RULE_SETUP -#line 684 "tokenizer.lex" +#line 677 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_EACH);} YY_BREAK case 90: YY_RULE_SETUP -#line 685 "tokenizer.lex" +#line 678 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_VOID);} YY_BREAK case 91: YY_RULE_SETUP -#line 686 "tokenizer.lex" +#line 679 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_TRUE);} YY_BREAK case 92: YY_RULE_SETUP -#line 687 "tokenizer.lex" +#line 680 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_NULL);} YY_BREAK case 93: YY_RULE_SETUP -#line 688 "tokenizer.lex" +#line 681 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_ELSE);} YY_BREAK case 94: YY_RULE_SETUP -#line 689 "tokenizer.lex" +#line 682 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_CASE);} YY_BREAK case 95: YY_RULE_SETUP -#line 690 "tokenizer.lex" +#line 683 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_WITH);} YY_BREAK case 96: YY_RULE_SETUP -#line 691 "tokenizer.lex" +#line 684 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_USE);} YY_BREAK case 97: YY_RULE_SETUP -#line 692 "tokenizer.lex" +#line 685 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_NEW);} YY_BREAK case 98: YY_RULE_SETUP -#line 693 "tokenizer.lex" +#line 686 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_GET);} YY_BREAK case 99: YY_RULE_SETUP -#line 694 "tokenizer.lex" +#line 687 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_SET);} YY_BREAK case 100: YY_RULE_SETUP -#line 695 "tokenizer.lex" +#line 688 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_VAR);} YY_BREAK case 101: YY_RULE_SETUP -#line 696 "tokenizer.lex" +#line 689 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_TRY);} YY_BREAK case 102: YY_RULE_SETUP -#line 697 "tokenizer.lex" +#line 690 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_IS) ;} YY_BREAK case 103: YY_RULE_SETUP -#line 698 "tokenizer.lex" +#line 691 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_IN) ;} YY_BREAK case 104: YY_RULE_SETUP -#line 699 "tokenizer.lex" +#line 692 "tokenizer.lex" {c();BEGIN(INITIAL);return m(KW_IF) ;} YY_BREAK case 105: YY_RULE_SETUP -#line 700 "tokenizer.lex" +#line 693 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(KW_AS);} YY_BREAK case 106: YY_RULE_SETUP -#line 701 "tokenizer.lex" +#line 694 "tokenizer.lex" {c();BEGIN(INITIAL);return handleIdentifier();} YY_BREAK case 107: YY_RULE_SETUP -#line 703 "tokenizer.lex" +#line 696 "tokenizer.lex" {c();BEGIN(INITIAL);return m(as3_text[0]);} YY_BREAK case 108: YY_RULE_SETUP -#line 704 "tokenizer.lex" +#line 697 "tokenizer.lex" {c();BEGIN(REGEXPOK);return m(as3_text[0]);} YY_BREAK case 109: YY_RULE_SETUP -#line 705 "tokenizer.lex" +#line 698 "tokenizer.lex" {c();BEGIN(INITIAL);return m(as3_text[0]);} YY_BREAK case 110: YY_RULE_SETUP -#line 707 "tokenizer.lex" +#line 700 "tokenizer.lex" {/* ERROR */ char c1=as3_text[0]; char buf[128]; @@ -2779,7 +2772,7 @@ YY_RULE_SETUP case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(REGEXPOK): case YY_STATE_EOF(BEGINNING): -#line 727 "tokenizer.lex" +#line 720 "tokenizer.lex" {l(); void*b = leave_file(); if (!b) { @@ -2794,10 +2787,10 @@ case YY_STATE_EOF(BEGINNING): YY_BREAK case 111: YY_RULE_SETUP -#line 739 "tokenizer.lex" +#line 732 "tokenizer.lex" ECHO; YY_BREAK -#line 2801 "tokenizer.yy.c" +#line 2794 "tokenizer.yy.c" case YY_END_OF_BUFFER: { @@ -3807,7 +3800,7 @@ void as3_free (void * ptr ) #define YYTABLES_NAME "yytables" -#line 739 "tokenizer.lex" +#line 732 "tokenizer.lex" -- 1.7.10.4