aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--LuaSL/src/LuaSL_compile.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index a72cab3..2ef8867 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -1743,13 +1743,16 @@ static void outputRawStatement(FILE *file, outputMode mode, LSL_Statement *state
1743 outputRawStatement(file, mode, statement->elseBlock); 1743 outputRawStatement(file, mode, statement->elseBlock);
1744 if (LSL_IF == statement->type) 1744 if (LSL_IF == statement->type)
1745 { 1745 {
1746#if 1
1746 fprintf(file, " end\n"); 1747 fprintf(file, " end\n");
1747// fprintf(file, " end --[["); 1748#else
1748// if (statement->parenthesis) 1749 fprintf(file, " end --[[");
1749// outputRawParenthesisToken(file, mode, statement->parenthesis, ""); 1750 if (statement->parenthesis)
1750// else 1751 outputRawParenthesisToken(file, mode, statement->parenthesis, "");
1751// outputLeaf(file, mode, statement->expressions); 1752 else
1752// fprintf(file, "]]\n"); 1753 outputLeaf(file, mode, statement->expressions);
1754 fprintf(file, "]]\n");
1755#endif
1753 } 1756 }
1754 return; 1757 return;
1755 } 1758 }