diff options
Diffstat (limited to '')
-rw-r--r-- | src/LuaSL/LuaSL_compile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c index c6ac70a..4fe5671 100644 --- a/src/LuaSL/LuaSL_compile.c +++ b/src/LuaSL/LuaSL_compile.c | |||
@@ -985,6 +985,7 @@ LSL_Leaf *addState(LuaSL_compiler *compiler, LSL_Leaf *state, LSL_Leaf *identifi | |||
985 | { | 985 | { |
986 | func->state = result->name.text; | 986 | func->state = result->name.text; |
987 | } | 987 | } |
988 | eina_iterator_free(handlers); | ||
988 | result->block = block->value.blockValue; | 989 | result->block = block->value.blockValue; |
989 | if (state) | 990 | if (state) |
990 | { | 991 | { |
@@ -1541,7 +1542,7 @@ static void outputRawParenthesisToken(FILE *file, outputMode mode, LSL_Parenthes | |||
1541 | else | 1542 | else |
1542 | outputLeaf(file, mode, parenthesis->contents); | 1543 | outputLeaf(file, mode, parenthesis->contents); |
1543 | if ((OM_LUA == mode) && (MF_WRAPFUNC & parenthesis->flags)) | 1544 | if ((OM_LUA == mode) && (MF_WRAPFUNC & parenthesis->flags)) |
1544 | // TODO - Need to fetc the identifier before, but we only have one in my test code, so fake it. | 1545 | // TODO - Need to fetch the identifier before, but we only have one in my test code, so fake it. |
1545 | fprintf(file, "; return ix; end)() "); | 1546 | fprintf(file, "; return ix; end)() "); |
1546 | else | 1547 | else |
1547 | { | 1548 | { |