From d343ceea759a437e9fd0b506f03046318ce9e1fe Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 12 Jan 2012 05:05:03 +1000 Subject: More clean up. --- LuaSL/src/LuaSL_lexer.l | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'LuaSL/src/LuaSL_lexer.l') diff --git a/LuaSL/src/LuaSL_lexer.l b/LuaSL/src/LuaSL_lexer.l index ddcb520..50f2624 100644 --- a/LuaSL/src/LuaSL_lexer.l +++ b/LuaSL/src/LuaSL_lexer.l @@ -107,6 +107,7 @@ IDENTIFIER [[:alpha:]](_|[[:alpha:]]|[[:digit:]])* %% +// TODO - this is not reentrant, should make it so. static char *ignorableText = NULL; static int column = 0; static int line = 0; @@ -149,10 +150,6 @@ int common(YYSTYPE *lval, char *text, boolean checkIgnorable, int type) ignorableText = strdup(text); } -#ifdef LUASL_DEBUG - printf ("******************************common(%s, \"%s\", , %d) %04d, %04d\n", lval->token->token, text, type, line, column); -#endif - return type; } -- cgit v1.1