aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-28 15:13:52 +1000
committerDavid Walter Seikel2012-01-28 15:13:52 +1000
commit1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271 (patch)
treea759037d5d450ce5bc6195f83e09433690ed846d
parentParenthesiss for flow control stuff, not type cast. (diff)
downloadSledjHamr-1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271.zip
SledjHamr-1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271.tar.gz
SledjHamr-1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271.tar.bz2
SledjHamr-1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271.tar.xz
These are nominally blocks, but might just be single statements.
-rw-r--r--LuaSL/src/LuaSL_compile.c2
1 files changed, 2 insertions, 0 deletions
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
1320 } 1320 }
1321 case LSL_FOR : 1321 case LSL_FOR :
1322 { 1322 {
1323 isBlock = TRUE;
1323 fprintf(file, "%s", tokens[statement->type - lowestToken]->token); 1324 fprintf(file, "%s", tokens[statement->type - lowestToken]->token);
1324 break; 1325 break;
1325 } 1326 }
1326 case LSL_IF : 1327 case LSL_IF :
1327 { 1328 {
1329 isBlock = TRUE;
1328 fprintf(file, "%s", tokens[statement->type - lowestToken]->token); 1330 fprintf(file, "%s", tokens[statement->type - lowestToken]->token);
1329 break; 1331 break;
1330 } 1332 }