From fb192181f74cd79aba3d7d1103a77c0ba3665a93 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 28 Jan 2012 15:13:21 +1000 Subject: Parenthesiss for flow control stuff, not type cast. --- LuaSL/src/LuaSL_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LuaSL') 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, stat->identifier = identifier->value.identifierValue; if (left) { - LSL_Leaf *parens = addParenthesis(left, expr, LSL_TYPECAST_OPEN, right); + LSL_Leaf *parens = addParenthesis(left, expr, LSL_PARENTHESIS_OPEN, right); if (parens) stat->parenthesis = parens->value.parenthesis; -- cgit v1.1