From 47f013998202c75d9835ad663851b4b0686d7392 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 3 Feb 2012 21:56:07 +1000 Subject: Separate else and if if it's not an actual elseif. --- LuaSL/src/LuaSL_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LuaSL/src/LuaSL_compile.c') diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index 2ef8867..e9a22c1 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c @@ -1726,9 +1726,9 @@ static void outputRawStatement(FILE *file, outputMode mode, LSL_Statement *state fprintf(file, "%s", tokens[statement->type - lowestToken]->toKen); if (OM_LUA == mode) { + fprintf(file, " "); if (LSL_ELSE != statement->type) { - fprintf(file, " "); if (statement->parenthesis) outputRawParenthesisToken(file, mode, statement->parenthesis, ""); else -- cgit v1.1