From a951180b496c6d29b6005c23000d5559ac7c9246 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 21 Jan 2012 10:05:25 +1000 Subject: Some extra debugging. --- LuaSL/src/LuaSL_compile.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) LSL_Leaf *var = findVariable(compiler, identifier->value.stringValue); if (NULL == var) - PE("NOT Found %s!", identifier->value.stringValue); + PE("NOT found %s!", identifier->value.stringValue); +#ifdef LUASL_DEBUG + else + PI("Found %s!", identifier->value.stringValue); +#endif return var; } -- cgit v1.1