From 64087ea4656abc8183691d578b1d14b66bb5f7e1 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 9 Jan 2012 08:35:01 +1000 Subject: One of these days I'll get spaces to work. Another hack at it. --- LuaSL/src/LuaSL_lexer.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LuaSL/src/LuaSL_lexer.l') 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:]])* /* 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. */ /* White space. */ -[[:space:]]+ %{ /* ECHO; yylval->spaceValue = strdup(yytext); return LSL_SPACE; */ %} +[[:space:]]+ %{ ECHO; /* yylval->spaceValue = strdup(yytext); return LSL_SPACE; */ %} /* Operations. */ "&&" { ECHO; return LSL_BOOL_AND; } -- cgit v1.1