diff options
author | David Walter Seikel | 2012-02-03 21:56:07 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-03 21:56:07 +1000 |
commit | 47f013998202c75d9835ad663851b4b0686d7392 (patch) | |
tree | b9c71bb440d7de7de842b01674d784d3a0d83850 | |
parent | Make it easier to debug misplaced ends. (diff) | |
download | SledjHamr-47f013998202c75d9835ad663851b4b0686d7392.zip SledjHamr-47f013998202c75d9835ad663851b4b0686d7392.tar.gz SledjHamr-47f013998202c75d9835ad663851b4b0686d7392.tar.bz2 SledjHamr-47f013998202c75d9835ad663851b4b0686d7392.tar.xz |
Separate else and if if it's not an actual elseif.
-rw-r--r-- | LuaSL/src/LuaSL_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
1726 | fprintf(file, "%s", tokens[statement->type - lowestToken]->toKen); | 1726 | fprintf(file, "%s", tokens[statement->type - lowestToken]->toKen); |
1727 | if (OM_LUA == mode) | 1727 | if (OM_LUA == mode) |
1728 | { | 1728 | { |
1729 | fprintf(file, " "); | ||
1729 | if (LSL_ELSE != statement->type) | 1730 | if (LSL_ELSE != statement->type) |
1730 | { | 1731 | { |
1731 | fprintf(file, " "); | ||
1732 | if (statement->parenthesis) | 1732 | if (statement->parenthesis) |
1733 | outputRawParenthesisToken(file, mode, statement->parenthesis, ""); | 1733 | outputRawParenthesisToken(file, mode, statement->parenthesis, ""); |
1734 | else | 1734 | else |