aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_compile.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-03 15:17:32 +1000
committerDavid Walter Seikel2012-02-03 15:17:32 +1000
commitd5d9916c88a3b63a33ad562058f01ac54d930e78 (patch)
treeb04807b73fc780e4b5afdda8704f5cbcc979df94 /LuaSL/src/LuaSL_compile.c
parentHalf arsed bit ops, does not even result in compilable Lua sometimes. (diff)
downloadSledjHamr-d5d9916c88a3b63a33ad562058f01ac54d930e78.zip
SledjHamr-d5d9916c88a3b63a33ad562058f01ac54d930e78.tar.gz
SledjHamr-d5d9916c88a3b63a33ad562058f01ac54d930e78.tar.bz2
SledjHamr-d5d9916c88a3b63a33ad562058f01ac54d930e78.tar.xz
Commenting out the duplication of conditionals at the end.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_compile.c13
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 }