aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-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