From f31841402c3b1b97e54efde4ea2654fafbc9cdb0 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Sat, 14 Feb 2009 03:02:12 +0100 Subject: [PATCH] set BUILTIN flag in imported classes/members --- lib/as3/import.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/as3/import.c b/lib/as3/import.c index 20c2fea..8721e28 100644 --- a/lib/as3/import.c +++ b/lib/as3/import.c @@ -98,6 +98,7 @@ void as3_import_code(abc_file_t*abc) multiname_list_t*i=cls->interfaces; classinfo_t*c = classinfo_register(access, package, name, list_length(i)); + c->flags|=FLAG_BUILTIN; if(cls->flags & CLASS_FINAL) c->flags |= FLAG_FINAL; @@ -140,6 +141,7 @@ void as3_import_code(abc_file_t*abc) } s->flags = is_static?FLAG_STATIC:0; + s->flags |= FLAG_BUILTIN; s->parent = c; cont: @@ -185,6 +187,7 @@ void as3_import_code(abc_file_t*abc) } else { m = (memberinfo_t*)varinfo_register_global(access, package, name); } + m->flags |= FLAG_BUILTIN; m->return_type = 0; m->parent = 0; } -- 1.7.10.4