git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7555c9
)
colon (:) can no longer be part of an expression
author
kramm
<kramm>
Fri, 6 Feb 2004 17:45:38 +0000
(17:45 +0000)
committer
kramm
<kramm>
Fri, 6 Feb 2004 17:45:38 +0000
(17:45 +0000)
src/parser.lex
patch
|
blob
|
history
diff --git
a/src/parser.lex
b/src/parser.lex
index
e03175a
..
38f24dc
100644
(file)
--- 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();}