From: kramm Date: Sat, 20 Nov 2004 16:19:10 +0000 (+0000) Subject: .end now needs a whitespace before *and* after. X-Git-Tag: release-0-6-3~153 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=863561d0c07a57bc88ba8c76f135b585a1bd3efd;p=swftools.git .end now needs a whitespace before *and* after. --- diff --git a/src/parser.lex b/src/parser.lex index 43e50fe..337da1e 100644 --- a/src/parser.lex +++ b/src/parser.lex @@ -266,7 +266,7 @@ RVALUE \"{STRING}\"|([^ \n\r\t]+) } \.include{S}.*\n {handleInclude(yytext, yyleng);} \.{NAME} {s(COMMAND);c();} -:({NS}|{S}[^.]|{S}\.[^e]|{S}\.e[^n]|{S}\.en[^d])*{S}\.end {s(RAWDATA);c();} +:({NS}|{S}[^.]|{S}\.[^e]|{S}\.e[^n]|{S}\.en[^d]|{S}\.end{NS})*{S}\.end {s(RAWDATA);c();} {NAME} {s(IDENTIFIER);c();} "[" {c();BEGIN(BINARY);} {S} {c();}