From ecfd92304e2d746d97e80d925ba44156f7eb1299 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 11 Feb 2012 21:52:01 +1000 Subject: Remove excess output. --- LuaSL/src/LuaSL_compile.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index a65b84b..805f26e 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c @@ -2168,8 +2168,6 @@ boolean compileLSL(gameGlobals *game, char *script, boolean doConstants) PE("Error opening file %s.", compiler.fileName); return FALSE; } - printf("\n"); - PD("Compiling %s.", compiler.fileName); compiler.ast = NULL; compiler.lval = newLeaf(LSL_UNKNOWN, NULL, NULL); // Text editors usually start counting at 1, even programmers editors. mcedit is an exception, but you can deal with that yourself. @@ -2199,7 +2197,7 @@ boolean compileLSL(gameGlobals *game, char *script, boolean doConstants) if (compiler.undeclared) { - PW("A second pass is needed to check if functions where used before they where declared. To avoid this second pass, don't do that."); +// PW("A second pass is needed to check if functions where used before they where declared. To avoid this second pass, don't do that."); if (eina_clist_count(&(compiler.danglingCalls))) { LSL_FunctionCall *call = NULL; @@ -2221,7 +2219,7 @@ boolean compileLSL(gameGlobals *game, char *script, boolean doConstants) } } secondPass(&compiler, compiler.ast); - PD("Second pass completed."); +// PD("Second pass completed."); } if (doConstants) @@ -2327,8 +2325,8 @@ boolean compileLSL(gameGlobals *game, char *script, boolean doConstants) { if (compiler.script.warningCount) PW("%d errors and %d warnings in %s", compiler.script.bugCount, compiler.script.warningCount, compiler.fileName); - else - PI("%d errors and %d warnings in %s", compiler.script.bugCount, compiler.script.warningCount, compiler.fileName); +// else +// PI("%d errors and %d warnings in %s", compiler.script.bugCount, compiler.script.warningCount, compiler.fileName); result = TRUE; } } -- cgit v1.1