aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_compile.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-28 10:07:27 +1000
committerDavid Walter Seikel2012-01-28 10:07:27 +1000
commitf2b30eccfc6bf537233f9349c59ab9de3ac86317 (patch)
treedcd189c32189d0fb03ef8726f9121455dfa29c81 /LuaSL/src/LuaSL_compile.c
parentNow I remember what that was for. Need caffeine. lol (diff)
downloadSledjHamr-f2b30eccfc6bf537233f9349c59ab9de3ac86317.zip
SledjHamr-f2b30eccfc6bf537233f9349c59ab9de3ac86317.tar.gz
SledjHamr-f2b30eccfc6bf537233f9349c59ab9de3ac86317.tar.bz2
SledjHamr-f2b30eccfc6bf537233f9349c59ab9de3ac86317.tar.xz
Document the other Clist use, and change it's name while I'm at it.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_compile.c6
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