From 0d15764f645b83c605015c06abc685245824adab Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Fri, 30 Jan 2009 19:54:55 +0100 Subject: [PATCH] fixed packageinit test case --- lib/as3/parser.y | 1 + 1 file changed, 1 insertion(+) 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) { -- 1.7.10.4