diff options
author | David Walter Seikel | 2014-08-10 17:41:00 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-08-10 17:41:00 +1000 |
commit | c2270e68a3d7edcae6b32bdf112df1f031516a82 (patch) | |
tree | 3a9b26b51a9e3e03364e6015e41919aff1b98b64 | |
parent | It seems that now we have to kick Elm harder to get GL out of it. (diff) | |
download | SledjHamr-c2270e68a3d7edcae6b32bdf112df1f031516a82.zip SledjHamr-c2270e68a3d7edcae6b32bdf112df1f031516a82.tar.gz SledjHamr-c2270e68a3d7edcae6b32bdf112df1f031516a82.tar.bz2 SledjHamr-c2270e68a3d7edcae6b32bdf112df1f031516a82.tar.xz |
Tweak function and variable not found messages.
-rw-r--r-- | src/LuaSL/LuaSL_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c index 286681e..0b27cf5 100644 --- a/src/LuaSL/LuaSL_compile.c +++ b/src/LuaSL/LuaSL_compile.c | |||
@@ -362,7 +362,7 @@ LSL_Leaf *checkVariable(LuaSL_compiler *compiler, LSL_Leaf *identifier, LSL_Leaf | |||
362 | else | 362 | else |
363 | { | 363 | { |
364 | compiler->script.bugCount++; | 364 | compiler->script.bugCount++; |
365 | sendBack(compiler->compiler.client, compiler->compiler.SID, "compilerError(%d,%d,NOT found %s)", identifier->line, identifier->column, identifier->value.stringValue); | 365 | sendBack(compiler->compiler.client, compiler->compiler.SID, "compilerError(%d,%d,NOT FOUND variable %s)", identifier->line, identifier->column, identifier->value.stringValue); |
366 | } | 366 | } |
367 | } | 367 | } |
368 | 368 | ||
@@ -2302,7 +2302,7 @@ boolean compileLSL(LuaSL_compiler *compiler) | |||
2302 | call->call->basicType = func->basicType; | 2302 | call->call->basicType = func->basicType; |
2303 | } | 2303 | } |
2304 | else | 2304 | else |
2305 | sendBack(compiler->compiler.client, compiler->compiler.SID, "compilerError(%d,%d,Undeclared function %s called)", call->call->line, call->call->column, call->call->value.stringValue); | 2305 | sendBack(compiler->compiler.client, compiler->compiler.SID, "compilerError(%d,%d,NOT FOUND function %s called)", call->call->line, call->call->column, call->call->value.stringValue); |
2306 | } | 2306 | } |
2307 | } | 2307 | } |
2308 | secondPass(compiler, compiler->ast); | 2308 | secondPass(compiler, compiler->ast); |