diff options
Diffstat (limited to 'LuaSL/src/LuaSL_compile.c')
-rw-r--r-- | LuaSL/src/LuaSL_compile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index 9b13e62..c1a1a5e 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c | |||
@@ -577,7 +577,7 @@ LSL_Leaf *addFunctionCall(LuaSL_compiler *compiler, LSL_Leaf *identifier, LSL_Le | |||
577 | if (call) | 577 | if (call) |
578 | { | 578 | { |
579 | call->function = func->value.functionValue; | 579 | call->function = func->value.functionValue; |
580 | eina_clist_element_init(&(call->functionCall)); | 580 | eina_clist_element_init(&(call->dangler)); |
581 | call->call = identifier; | 581 | call->call = identifier; |
582 | } | 582 | } |
583 | identifier->value.functionCallValue = call; | 583 | identifier->value.functionCallValue = call; |
@@ -590,7 +590,7 @@ LSL_Leaf *addFunctionCall(LuaSL_compiler *compiler, LSL_Leaf *identifier, LSL_Le | |||
590 | // It may be declared later, so store it and check later. | 590 | // It may be declared later, so store it and check later. |
591 | if (call) | 591 | if (call) |
592 | { | 592 | { |
593 | eina_clist_add_tail(&(compiler->danglingCalls), &(call->functionCall)); | 593 | eina_clist_add_tail(&(compiler->danglingCalls), &(call->dangler)); |
594 | call->call = identifier; | 594 | call->call = identifier; |
595 | } | 595 | } |
596 | identifier->basicType = OT_undeclared; | 596 | identifier->basicType = OT_undeclared; |
@@ -1373,7 +1373,7 @@ boolean compileLSL(gameGlobals *game, char *script, boolean doConstants) | |||
1373 | { | 1373 | { |
1374 | LSL_FunctionCall *call = NULL; | 1374 | LSL_FunctionCall *call = NULL; |
1375 | 1375 | ||
1376 | EINA_CLIST_FOR_EACH_ENTRY(call, &(compiler.danglingCalls), LSL_FunctionCall, functionCall) | 1376 | EINA_CLIST_FOR_EACH_ENTRY(call, &(compiler.danglingCalls), LSL_FunctionCall, dangler) |
1377 | { | 1377 | { |
1378 | LSL_Leaf *func = findFunction(&(compiler), call->call->value.stringValue); | 1378 | LSL_Leaf *func = findFunction(&(compiler), call->call->value.stringValue); |
1379 | 1379 | ||