diff options
author | David Walter Seikel | 2012-01-17 16:37:30 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-17 16:37:30 +1000 |
commit | d2b70292fc02dc90b7b0a9ec7a46e4ec216288a8 (patch) | |
tree | be46029e1edac202ee474daefa6e18a28bbbd130 | |
parent | A little cleanup. (diff) | |
download | SledjHamr-d2b70292fc02dc90b7b0a9ec7a46e4ec216288a8.zip SledjHamr-d2b70292fc02dc90b7b0a9ec7a46e4ec216288a8.tar.gz SledjHamr-d2b70292fc02dc90b7b0a9ec7a46e4ec216288a8.tar.bz2 SledjHamr-d2b70292fc02dc90b7b0a9ec7a46e4ec216288a8.tar.xz |
Disable leaf burning for now, it's crashing.
-rw-r--r-- | LuaSL/src/LuaSL_compile.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index fdfef47..65a8089 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c | |||
@@ -201,15 +201,14 @@ void burnLeaf(void *data) | |||
201 | LSL_Leaf *leaf = data; | 201 | LSL_Leaf *leaf = data; |
202 | if (leaf) | 202 | if (leaf) |
203 | { | 203 | { |
204 | burnLeaf(leaf->left); | 204 | // burnLeaf(leaf->left); |
205 | burnLeaf(leaf->right); | 205 | // burnLeaf(leaf->right); |
206 | // TODO - Should free up the value to. | 206 | // TODO - Should free up the value to. |
207 | eina_strbuf_free(leaf->ignorableText); | 207 | // eina_strbuf_free(leaf->ignorableText); |
208 | free(leaf); | 208 | // free(leaf); |
209 | } | 209 | } |
210 | } | 210 | } |
211 | 211 | ||
212 | |||
213 | static LSL_Leaf *findVariable(LuaSL_compiler *compiler, const char *name) | 212 | static LSL_Leaf *findVariable(LuaSL_compiler *compiler, const char *name) |
214 | { | 213 | { |
215 | LSL_Leaf *var = NULL; | 214 | LSL_Leaf *var = NULL; |