diff options
author | David Walter Seikel | 2012-01-22 14:36:22 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-22 14:36:22 +1000 |
commit | 1c3a3999bc5ba33ffbf4af9786a2d2adf436cc1f (patch) | |
tree | 65d22739ee3fe455b4b9ca3159df28eb3f36405d /LuaSL | |
parent | Function definitions are statements now. (diff) | |
download | SledjHamr-1c3a3999bc5ba33ffbf4af9786a2d2adf436cc1f.zip SledjHamr-1c3a3999bc5ba33ffbf4af9786a2d2adf436cc1f.tar.gz SledjHamr-1c3a3999bc5ba33ffbf4af9786a2d2adf436cc1f.tar.bz2 SledjHamr-1c3a3999bc5ba33ffbf4af9786a2d2adf436cc1f.tar.xz |
This is why states where not printing properly.
Diffstat (limited to 'LuaSL')
-rw-r--r-- | LuaSL/src/LuaSL_compile.c | 1 |
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 | ||