From: kramm <kramm>
Date: Fri, 6 Feb 2004 17:45:38 +0000 (+0000)
Subject: colon (:) can no longer be part of an expression
X-Git-Tag: release-0-5-0~17
X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=bf43c873db69790544eddd197ac1e53ee81ee0d7;p=swftools.git

colon (:) can no longer be part of an expression
---

diff --git a/src/parser.lex b/src/parser.lex
index e03175a..38f24dc 100644
--- a/src/parser.lex
+++ b/src/parser.lex
@@ -185,7 +185,7 @@ RVALUE	 \"{STRING}\"|([^ \n\r\t]+)
 {NAME}{S}*-=		    {s(ASSIGNMENT);prefix="<minus>";c();BEGIN(R);}
 {NAME}{S}*=		    {s(ASSIGNMENT);c();BEGIN(R);}
 <R>{ /* values which appear only on the right-hand side of assignments, like: x=50% */
-    [^ \n\t\r]*		    {s(IDENTIFIER);c();BEGIN(0);}
+    [^ :\n\t\r]*		    {s(IDENTIFIER);c();BEGIN(0);}
 }
 \.include{S}.*\n		    {handleInclude(yytext, yyleng);}
 \.{NAME}	            {s(COMMAND);c();}