aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src')
-rw-r--r--LuaSL/src/LuaSL_compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index 40b7b00..bd619bb 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -220,8 +220,10 @@ static LSL_Leaf *newLeaf(LSL_Type type, LSL_Leaf *left, LSL_Leaf *right)
220void burnLeaf(void *data) 220void burnLeaf(void *data)
221{ 221{
222 LSL_Leaf *leaf = data; 222 LSL_Leaf *leaf = data;
223
223 if (leaf) 224 if (leaf)
224 { 225 {
226// TODO - the problem here is that lemon wants to free these after a reduce, but we might want to keep them around. Should ref count them or something.
225// burnLeaf(leaf->left); 227// burnLeaf(leaf->left);
226// burnLeaf(leaf->right); 228// burnLeaf(leaf->right);
227 // TODO - Should free up the value to. 229 // TODO - Should free up the value to.