aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-14 15:53:35 +1000
committerDavid Walter Seikel2014-05-14 15:53:35 +1000
commitc7d0a7f58dc29e4b3b5e88302b07fb1238363550 (patch)
tree320585b4c3c7a0d3b2fd37015fd6e17f07532d87 /src
parentTrash the trash thingy that was trashing memory. Plus some debugging prints. (diff)
downloadSledjHamr-c7d0a7f58dc29e4b3b5e88302b07fb1238363550.zip
SledjHamr-c7d0a7f58dc29e4b3b5e88302b07fb1238363550.tar.gz
SledjHamr-c7d0a7f58dc29e4b3b5e88302b07fb1238363550.tar.bz2
SledjHamr-c7d0a7f58dc29e4b3b5e88302b07fb1238363550.tar.xz
Comment out some excess compiler warnings.
Diffstat (limited to 'src')
-rw-r--r--src/LuaSL/LuaSL_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c
index 0c398b9..bab94f3 100644
--- a/src/LuaSL/LuaSL_compile.c
+++ b/src/LuaSL/LuaSL_compile.c
@@ -400,7 +400,7 @@ LSL_Leaf *addOperation(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval,
400 if (OT_undeclared == lType) 400 if (OT_undeclared == lType)
401 { 401 {
402 compiler->script.warningCount++; 402 compiler->script.warningCount++;
403 sendBack(compiler->client, compiler->SID, "compilerWarning(%d,%d,Undeclared identifier issue, deferring this until the second pass)", lval->line, lval->column); 403// sendBack(compiler->client, compiler->SID, "compilerWarning(%d,%d,Undeclared identifier issue, deferring this until the second pass)", lval->line, lval->column);
404 lval->basicType = OT_undeclared; 404 lval->basicType = OT_undeclared;
405 return lval; 405 return lval;
406 } 406 }
@@ -428,7 +428,7 @@ LSL_Leaf *addOperation(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval,
428 if (OT_undeclared == rType) 428 if (OT_undeclared == rType)
429 { 429 {
430 compiler->script.warningCount++; 430 compiler->script.warningCount++;
431 sendBack(compiler->client, compiler->SID, "compilerWarning(%d,%d,Undeclared identifier issue, deferring this until the second pass)", lval->line, lval->column); 431// sendBack(compiler->client, compiler->SID, "compilerWarning(%d,%d,Undeclared identifier issue, deferring this until the second pass)", lval->line, lval->column);
432 lval->basicType = OT_undeclared; 432 lval->basicType = OT_undeclared;
433 return lval; 433 return lval;
434 } 434 }