diff options
-rw-r--r-- | LuaSL/src/LuaSL_compile.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index d13df68..51d859e 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c | |||
@@ -1714,12 +1714,13 @@ static void outputRawStatement(FILE *file, outputMode mode, LSL_Statement *state | |||
1714 | outputRawStatement(file, mode, statement->elseBlock); | 1714 | outputRawStatement(file, mode, statement->elseBlock); |
1715 | if (LSL_IF == statement->type) | 1715 | if (LSL_IF == statement->type) |
1716 | { | 1716 | { |
1717 | fprintf(file, " end --[["); | 1717 | fprintf(file, " end\n"); |
1718 | if (statement->parenthesis) | 1718 | // fprintf(file, " end --[["); |
1719 | outputRawParenthesisToken(file, mode, statement->parenthesis, ""); | 1719 | // if (statement->parenthesis) |
1720 | else | 1720 | // outputRawParenthesisToken(file, mode, statement->parenthesis, ""); |
1721 | outputLeaf(file, mode, statement->expressions); | 1721 | // else |
1722 | fprintf(file, "]]\n"); | 1722 | // outputLeaf(file, mode, statement->expressions); |
1723 | // fprintf(file, "]]\n"); | ||
1723 | } | 1724 | } |
1724 | return; | 1725 | return; |
1725 | } | 1726 | } |