diff options
author | David Walter Seikel | 2012-01-28 15:13:52 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-28 15:13:52 +1000 |
commit | 1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271 (patch) | |
tree | a759037d5d450ce5bc6195f83e09433690ed846d /LuaSL/src | |
parent | Parenthesiss for flow control stuff, not type cast. (diff) | |
download | SledjHamr-1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271.zip SledjHamr-1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271.tar.gz SledjHamr-1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271.tar.bz2 SledjHamr-1cb783dfc75b8259d6b4ef4ac6a4a23f183ef271.tar.xz |
These are nominally blocks, but might just be single statements.
Diffstat (limited to '')
-rw-r--r-- | LuaSL/src/LuaSL_compile.c | 2 |
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 | } |