aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_lexer.l')
-rw-r--r--LuaSL/src/LuaSL_lexer.l5
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.
110static char *ignorableText = NULL; 111static char *ignorableText = NULL;
111static int column = 0; 112static int column = 0;
112static int line = 0; 113static 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