X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fparser.y;h=600c54c28a5c1ffe705d5b7b74d5e9ca6ef9d131;hb=fa119fe1bbdbeb404f804ec83b1ae055404ff482;hp=3e3abd3692b205e2658be627b4d240806047df4d;hpb=d2bcd477230b4ac8d7e69fc253d94250b13eb37a;p=swftools.git 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 }