aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-28 15:13:21 +1000
committerDavid Walter Seikel2012-01-28 15:13:21 +1000
commitfb192181f74cd79aba3d7d1103a77c0ba3665a93 (patch)
treed8f6d88dd6b4bd332272d3995bde8971b3b54b74 /LuaSL/src
parenttypo-- (diff)
downloadSledjHamr-fb192181f74cd79aba3d7d1103a77c0ba3665a93.zip
SledjHamr-fb192181f74cd79aba3d7d1103a77c0ba3665a93.tar.gz
SledjHamr-fb192181f74cd79aba3d7d1103a77c0ba3665a93.tar.bz2
SledjHamr-fb192181f74cd79aba3d7d1103a77c0ba3665a93.tar.xz
Parenthesiss for flow control stuff, not type cast.
Diffstat (limited to 'LuaSL/src')
-rw-r--r--LuaSL/src/LuaSL_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index 8fc3cb5..f1c735f 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -654,7 +654,7 @@ LSL_Leaf *addStatement(LuaSL_compiler *compiler, LSL_Leaf *lval, LSL_Type type,
654 stat->identifier = identifier->value.identifierValue; 654 stat->identifier = identifier->value.identifierValue;
655 if (left) 655 if (left)
656 { 656 {
657 LSL_Leaf *parens = addParenthesis(left, expr, LSL_TYPECAST_OPEN, right); 657 LSL_Leaf *parens = addParenthesis(left, expr, LSL_PARENTHESIS_OPEN, right);
658 658
659 if (parens) 659 if (parens)
660 stat->parenthesis = parens->value.parenthesis; 660 stat->parenthesis = parens->value.parenthesis;