From 1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 28 Jan 2012 15:13:52 +1000 Subject: These are nominally blocks, but might just be single statements. --- LuaSL/src/LuaSL_compile.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'LuaSL/src/LuaSL_compile.c') diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index f1c735f..c53a09a 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c @@ -1320,11 +1320,13 @@ static void outputRawStatement(FILE *file, outputMode mode, LSL_Statement *state } case LSL_FOR : { + isBlock = TRUE; fprintf(file, "%s", tokens[statement->type - lowestToken]->token); break; } case LSL_IF : { + isBlock = TRUE; fprintf(file, "%s", tokens[statement->type - lowestToken]->token); break; } -- cgit v1.1