diff options
Diffstat (limited to 'LuaSL/src/LuaSL_lexer.l')
-rw-r--r-- | LuaSL/src/LuaSL_lexer.l | 5 |
1 files changed, 1 insertions, 4 deletions
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:]])* | |||
107 | 107 | ||
108 | %% | 108 | %% |
109 | 109 | ||
110 | // TODO - this is not reentrant, should make it so. | ||
110 | static char *ignorableText = NULL; | 111 | static char *ignorableText = NULL; |
111 | static int column = 0; | 112 | static int column = 0; |
112 | static int line = 0; | 113 | static int line = 0; |
@@ -149,10 +150,6 @@ int common(YYSTYPE *lval, char *text, boolean checkIgnorable, int type) | |||
149 | ignorableText = strdup(text); | 150 | ignorableText = strdup(text); |
150 | } | 151 | } |
151 | 152 | ||
152 | #ifdef LUASL_DEBUG | ||
153 | printf ("******************************common(%s, \"%s\", , %d) %04d, %04d\n", lval->token->token, text, type, line, column); | ||
154 | #endif | ||
155 | |||
156 | return type; | 153 | return type; |
157 | } | 154 | } |
158 | 155 | ||