From f136a1af33253a4149c4a3a366845727f36d6567 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 21 Jan 2012 22:34:46 +1000 Subject: Disable some of the output, and compile every script in the test sim. --- LuaSL/src/LuaSL_compile.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'LuaSL/src/LuaSL_compile.c') diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index cb64038..18deda3 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c @@ -1015,9 +1015,9 @@ static LSL_Leaf *evaluateStatementToken(LSL_Leaf *content, LSL_Leaf *left, LSL_L { switch (result->basicType) { - case OT_float : printf("\nResult is the float %g.\n", result->value.floatValue); break; - case OT_integer : printf("\nResult is the integer %d.\n", result->value.integerValue); break; - default : printf("\nResult of an unknown type [%d] %d!\n", result->basicType, result->value.integerValue); break; + case OT_float : printf("Result is the float %g.\n", result->value.floatValue); break; + case OT_integer : printf("Result is the integer %d.\n", result->value.integerValue); break; + default : /*printf("\nResult of an unknown type [%d] %d!\n", result->basicType, result->value.integerValue);*/ break; } free(result); result = NULL; @@ -1184,10 +1184,10 @@ static void doneParsing(LuaSL_compiler *compiler) char outName[PATH_MAX]; char luaName[PATH_MAX]; - outputLeaf(stdout, OM_LSL, compiler->ast); - printf("\n"); +// outputLeaf(stdout, OM_LSL, compiler->ast); +// printf("\n"); evaluateLeaf(compiler->ast, NULL, NULL); - printf("\n"); +// printf("\n"); strcpy(outName, compiler->fileName); strcat(outName, "2"); @@ -1285,6 +1285,7 @@ Eina_Bool compileLSL(gameGlobals *game, char *script, boolean doConstants) PE("Error opening file %s.", compiler.fileName); return FALSE; } + printf("\n"); PI("Opened %s.", compiler.fileName); compiler.ast = NULL; compiler.lval = newLeaf(LSL_UNKNOWN, NULL, NULL); -- cgit v1.1