X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fas3%2Fparser.y;h=600c54c28a5c1ffe705d5b7b74d5e9ca6ef9d131;hp=3e3abd3692b205e2658be627b4d240806047df4d;hb=fa119fe1bbdbeb404f804ec83b1ae055404ff482;hpb=a638a0d9f8ea2aade9dd1aa8fda629d796bc02a6 diff --git a/lib/as3/parser.y b/lib/as3/parser.y index 3e3abd3..600c54c 100644 --- a/lib/as3/parser.y +++ b/lib/as3/parser.y @@ -1363,7 +1363,9 @@ code_t*converttype(code_t*c, classinfo_t*from, classinfo_t*to) return c; if(TYPE_IS_NULL(from) && !IS_NUMBER_OR_INT(to)) return c; - syntaxerror("can't convert type %s to %s", from->name, to->name); + syntaxerror("can't convert type %s%s%s to %s%s%s", + from->package, from->package?".":"", from->name, + to->package, to->package?".":"", to->name); return 0; // make gcc happy }