From f1f4f875fc1207c8d30b5ff35ca9087077430d22 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 22 Jan 2012 10:07:43 +1000 Subject: Tidy up the output. --- LuaSL/src/LuaSL.edc | 12 ++++++------ LuaSL/src/LuaSL_compile.c | 4 ++-- LuaSL/src/LuaSL_lemon_yaccer.y | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'LuaSL') diff --git a/LuaSL/src/LuaSL.edc b/LuaSL/src/LuaSL.edc index 852de08..844fc8e 100644 --- a/LuaSL/src/LuaSL.edc +++ b/LuaSL/src/LuaSL.edc @@ -46,30 +46,30 @@ collections { D.text:font("Sans:style=Bold", 32); D.text:text("Lua rocks!"); text_geom = D.text:geom(); - print(D.text:text()); +--// print(D.text:text()); D.text:show(); --// shutdown func - generally empty or not there. everything garbage collected for you function shutdown () - print("lua::shutdown"); +--// print("lua::shutdown"); end function show () - print("lua::show"); +--// print("lua::show"); end function hide () - print("lua::hide"); +--// print("lua::hide"); end function move (x, y) - print("lua::move x=" .. x .. " x=" .. y); +--// print("lua::move x=" .. x .. " x=" .. y); D.edje:move(0, 0); end function resize (w, h) - print("lua::resize w=" .. w .. " h=" .. h); +--// print("lua::resize w=" .. w .. " h=" .. h); D.text:move((w - text_geom.w) / 2, (h - text_geom.h) / 8); D.edje:resize(w, h); end diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index 52db12a..9e4d4c1 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c @@ -1296,7 +1296,7 @@ boolean compileLSL(gameGlobals *game, char *script, boolean doConstants) return FALSE; } printf("\n"); - PI("Opened %s.", compiler.fileName); + 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. @@ -1346,7 +1346,7 @@ boolean compileLSL(gameGlobals *game, char *script, boolean doConstants) } } secondPass(&compiler, compiler.ast); - PI("Second pass completed."); + PD("Second pass completed."); } if (doConstants) diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y index 85feaf8..e6c4bcd 100644 --- a/LuaSL/src/LuaSL_lemon_yaccer.y +++ b/LuaSL/src/LuaSL_lemon_yaccer.y @@ -208,9 +208,9 @@ expr ::= LSL_LESS_THAN expr LSL_COMMA expr LSL_COMMA expr LSL_GREATER_THAN. [L %parse_accept { - gameGlobals *game = compiler->game; +// gameGlobals *game = compiler->game; - PI("Parsing complete."); +// PI("Parsing complete."); } %parse_failure -- cgit v1.1