diff options
author | David Walter Seikel | 2012-01-09 08:35:01 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-09 08:35:01 +1000 |
commit | 64087ea4656abc8183691d578b1d14b66bb5f7e1 (patch) | |
tree | c54ddd458bf5890f54397e0f24605509bdf09f93 /LuaSL/src/LuaSL_lexer.l | |
parent | Implement script, and add YYVALID for statement to help with recovering from ... (diff) | |
download | SledjHamr-64087ea4656abc8183691d578b1d14b66bb5f7e1.zip SledjHamr-64087ea4656abc8183691d578b1d14b66bb5f7e1.tar.gz SledjHamr-64087ea4656abc8183691d578b1d14b66bb5f7e1.tar.bz2 SledjHamr-64087ea4656abc8183691d578b1d14b66bb5f7e1.tar.xz |
One of these days I'll get spaces to work. Another hack at it.
Diffstat (limited to 'LuaSL/src/LuaSL_lexer.l')
-rw-r--r-- | LuaSL/src/LuaSL_lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_lexer.l b/LuaSL/src/LuaSL_lexer.l index 4aff7fa..631a44b 100644 --- a/LuaSL/src/LuaSL_lexer.l +++ b/LuaSL/src/LuaSL_lexer.l | |||
@@ -30,7 +30,7 @@ NAME [[:alpha:]](_|[[:alpha:]]|[[:digit:]])* | |||
30 | /* The order here is important, in mysterious ways. The more specific the lower in case of ambiguities like "floats contain integers". I think, not tested that well yet. */ | 30 | /* The order here is important, in mysterious ways. The more specific the lower in case of ambiguities like "floats contain integers". I think, not tested that well yet. */ |
31 | 31 | ||
32 | /* White space. */ | 32 | /* White space. */ |
33 | [[:space:]]+ %{ /* ECHO; yylval->spaceValue = strdup(yytext); return LSL_SPACE; */ %} | 33 | [[:space:]]+ %{ ECHO; /* yylval->spaceValue = strdup(yytext); return LSL_SPACE; */ %} |
34 | 34 | ||
35 | /* Operations. */ | 35 | /* Operations. */ |
36 | "&&" { ECHO; return LSL_BOOL_AND; } | 36 | "&&" { ECHO; return LSL_BOOL_AND; } |