aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-21 10:05:25 +1000
committerDavid Walter Seikel2012-01-21 10:05:25 +1000
commita951180b496c6d29b6005c23000d5559ac7c9246 (patch)
tree40f8acb222d8ca2f6f7e143ed0530e6f733325a6
parentCommentary about freeing AST nodes by the parser. (diff)
downloadSledjHamr-a951180b496c6d29b6005c23000d5559ac7c9246.zip
SledjHamr-a951180b496c6d29b6005c23000d5559ac7c9246.tar.gz
SledjHamr-a951180b496c6d29b6005c23000d5559ac7c9246.tar.bz2
SledjHamr-a951180b496c6d29b6005c23000d5559ac7c9246.tar.xz
Some extra debugging.
-rw-r--r--LuaSL/src/LuaSL_compile.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index bd619bb..504e866 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -264,7 +264,11 @@ LSL_Leaf *checkVariable(LuaSL_compiler *compiler, LSL_Leaf *identifier)
264 LSL_Leaf *var = findVariable(compiler, identifier->value.stringValue); 264 LSL_Leaf *var = findVariable(compiler, identifier->value.stringValue);
265 265
266 if (NULL == var) 266 if (NULL == var)
267 PE("NOT Found %s!", identifier->value.stringValue); 267 PE("NOT found %s!", identifier->value.stringValue);
268#ifdef LUASL_DEBUG
269 else
270 PI("Found %s!", identifier->value.stringValue);
271#endif
268 272
269 return var; 273 return var;
270} 274}