From: kramm Date: Tue, 30 Dec 2008 23:04:58 +0000 (+0000) Subject: fixed multiline comments X-Git-Tag: release-0-9-0~515 X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=8dd3115f622c1093c5b7b2a20efaa174c998c861;hp=9b9ed0b786fe95855ea9e78b3e898837136642b6;p=swftools.git fixed multiline comments --- diff --git a/lib/as3/tokenizer.lex b/lib/as3/tokenizer.lex index 85513d5..cd20485 100644 --- a/lib/as3/tokenizer.lex +++ b/lib/as3/tokenizer.lex @@ -240,7 +240,7 @@ NUMBER -?[0-9]+(\.[0-9]*)? STRING ["](\\[\x00-\xff]|[^\\"\n])*["]|['](\\[\x00-\xff]|[^\\'\n])*['] S [ \n\r\t] -MULTILINE_COMMENT [/][*]+([*][^/]|[^/*]|[\x00-\x1f])*[*]+[/] +MULTILINE_COMMENT [/][*]+([*][^/]|[^/*]|[^*][/]|[\x00-\x1f])*[*]+[/] SINGLELINE_COMMENT \/\/[^\n]*\n REGEXP [/]([^/\n]|\\[/])*[/][a-zA-Z]* %%