X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fas3%2Ftokenizer.lex;h=8a94edbd5f94c9e89c7b563a2277f252e4a74e1c;hp=f253b1bbb8556535f28fd722c94b06696339674d;hb=98274d31d2a91c0f8a577e6779219e11aaf293bb;hpb=97a49a511ccafbbff3b49ec90af761244d3a9227 diff --git a/lib/as3/tokenizer.lex b/lib/as3/tokenizer.lex index f253b1b..8a94edb 100644 --- a/lib/as3/tokenizer.lex +++ b/lib/as3/tokenizer.lex @@ -687,7 +687,7 @@ is {c();BEGIN(REGEXPOK);return m(KW_IS) ;} in {c();BEGIN(REGEXPOK);return m(KW_IN) ;} if {c();BEGIN(INITIAL);return m(KW_IF) ;} as {c();BEGIN(REGEXPOK);return m(KW_AS);} -{NAME} {c();BEGIN(INITIAL);return handleIdentifier();} +$?{NAME} {c();BEGIN(INITIAL);return handleIdentifier();} [\]\}*] {c();BEGIN(INITIAL);return m(yytext[0]);} [+-\/^~@$!%&\(=\[|?:;,<>] {c();BEGIN(REGEXPOK);return m(yytext[0]);}