aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-22 14:36:22 +1000
committerDavid Walter Seikel2012-01-22 14:36:22 +1000
commit1c3a3999bc5ba33ffbf4af9786a2d2adf436cc1f (patch)
tree65d22739ee3fe455b4b9ca3159df28eb3f36405d
parentFunction definitions are statements now. (diff)
downloadSledjHamr-1c3a3999bc5ba33ffbf4af9786a2d2adf436cc1f.zip
SledjHamr-1c3a3999bc5ba33ffbf4af9786a2d2adf436cc1f.tar.gz
SledjHamr-1c3a3999bc5ba33ffbf4af9786a2d2adf436cc1f.tar.bz2
SledjHamr-1c3a3999bc5ba33ffbf4af9786a2d2adf436cc1f.tar.xz
This is why states where not printing properly.
-rw-r--r--LuaSL/src/LuaSL_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index c2cf781..0e1ae50 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -621,6 +621,7 @@ LSL_Leaf *addState(LuaSL_compiler *compiler, LSL_Leaf *identifier, LSL_Leaf *blo
621 result->name = identifier->value.stringValue; 621 result->name = identifier->value.stringValue;
622 result->block = block; 622 result->block = block;
623 identifier->value.stateValue = result; 623 identifier->value.stateValue = result;
624 identifier->token = tokens[LSL_STATE - lowestToken];
624 eina_hash_add(compiler->script.states, result->name, identifier); 625 eina_hash_add(compiler->script.states, result->name, identifier);
625 } 626 }
626 627