aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/LuaSL/LuaSL_compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c
index 9695bef..fb9a5be 100644
--- a/src/LuaSL/LuaSL_compile.c
+++ b/src/LuaSL/LuaSL_compile.c
@@ -1287,6 +1287,8 @@ LSL_Leaf *addTypecast(LSL_Leaf *lval, LSL_Leaf *type, LSL_Leaf *rval, LSL_Leaf *
1287 lval->basicType = type->basicType; 1287 lval->basicType = type->basicType;
1288 if ((expr) && (OT_integer == type->basicType)) // TODO - Should be from string, but I guess I'm not propagating basic types up from function calls and parenthesis? 1288 if ((expr) && (OT_integer == type->basicType)) // TODO - Should be from string, but I guess I'm not propagating basic types up from function calls and parenthesis?
1289 lval->value.parenthesis->flags |= MF_TYPECAST; 1289 lval->value.parenthesis->flags |= MF_TYPECAST;
1290 if ((expr) && (OT_list == type->basicType))
1291 lval->value.parenthesis->flags |= MF_TYPECAST;
1290 } 1292 }
1291 // Actualy, at this point, type is no longer needed. 1293 // Actualy, at this point, type is no longer needed.
1292 lval->toKen = tokens[LSL_TYPECAST_OPEN - lowestToken]; 1294 lval->toKen = tokens[LSL_TYPECAST_OPEN - lowestToken];