From: Matthias Kramm Date: Fri, 30 Jan 2009 18:54:55 +0000 (+0100) Subject: fixed packageinit test case X-Git-Tag: release-0-9-0~196 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=0d15764f645b83c605015c06abc685245824adab;p=swftools.git fixed packageinit test case --- diff --git a/lib/as3/parser.y b/lib/as3/parser.y index 6aa84e4..70d2be2 100644 --- a/lib/as3/parser.y +++ b/lib/as3/parser.y @@ -2079,6 +2079,7 @@ SLOT_DECLARATION: MAYBE_MODIFIERS VARCONST T_IDENTIFIER MAYBETYPE MAYBEEXPRESSIO code_t**code; if(!state->cls) { // global variable + mname_ns.name = state->package; traits = &global->init->traits; code = &global->init->method->body->code; } else if(flags&FLAG_STATIC) {