X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=lib%2Fas3%2Ftokenizer.lex;h=98ce98f0bdf5b59d89c7b8555af3d999f88f5005;hb=8d78dadd6a8cd35d085109414a9aa4a1fa9e9d8e;hp=7c4c4559903bcdb9cc6106b9f555b00de00cdca3;hpb=499c73edd0924ce0d7ddbdc0c6af6a5536457021;p=swftools.git diff --git a/lib/as3/tokenizer.lex b/lib/as3/tokenizer.lex index 7c4c455..98ce98f 100644 --- a/lib/as3/tokenizer.lex +++ b/lib/as3/tokenizer.lex @@ -92,6 +92,8 @@ void handleInclude(char*text, int len, char quotes) //BEGIN(INITIAL); keep context } +char start_of_expression; + static inline int m(int type) { char*s = malloc(yyleng+1); @@ -101,7 +103,7 @@ static inline int m(int type) NEW(token_t,t); t->type = type; t->text = s; - avm2_lval = t; + avm2_lval.token = t; return type; }