From 334ba10e01c98b8d0ad2901b9ceafa45071050b9 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 5 May 2014 15:08:55 +1000 Subject: Make logDom a stand alone, plus related fix ups and some clean ups. --- src/LuaSL/LuaSL_compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/LuaSL/LuaSL_compile.c') diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c index f32e0c0..3265acf 100644 --- a/src/LuaSL/LuaSL_compile.c +++ b/src/LuaSL/LuaSL_compile.c @@ -991,7 +991,7 @@ LSL_Leaf *addFor(LuaSL_compiler *compiler, LSL_Leaf *lval, LSL_Leaf *flow, LSL_L LSL_Leaf *addStatement(LuaSL_compiler *compiler, LSL_Leaf *lval, LSL_Leaf *flow, LSL_Leaf *left, LSL_Leaf *expr, LSL_Leaf *right, LSL_Leaf *block, LSL_Leaf *identifier) { - gameGlobals *ourGlobals = compiler->game; +// gameGlobals *ourGlobals = compiler->game; LSL_Statement *stat = calloc(1, sizeof(LSL_Statement)); boolean justOne = FALSE; @@ -1112,17 +1112,17 @@ LSL_Leaf *addStatement(LuaSL_compiler *compiler, LSL_Leaf *lval, LSL_Leaf *flow, } } -#if LUASL_DIFF_CHECK if (justOne && (flow)) { +#if LUASL_DIFF_CHECK stat->ignorable = calloc(2, sizeof(Eina_Strbuf *)); if (stat->ignorable) { stat->ignorable[1] = flow->ignorable; flow->ignorable = NULL; } - } #endif + } if (lval) { -- cgit v1.1