aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-12-15 16:20:50 +0000
committerbloodstalker <thabogre@gmail.com>2018-12-15 16:20:50 +0000
commiteb6479b4b9bff355516b15e0572203aa8fda3dc5 (patch)
tree90dbe7174ff44cd3a060769fbb71e06bd5e2e45c
parentupdate (diff)
downloadluatablegen-eb6479b4b9bff355516b15e0572203aa8fda3dc5.tar.gz
luatablegen-eb6479b4b9bff355516b15e0572203aa8fda3dc5.zip
update
Diffstat (limited to '')
-rwxr-xr-xluatablegen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/luatablegen.py b/luatablegen.py
index 421f22e..2491eff 100755
--- a/luatablegen.py
+++ b/luatablegen.py
@@ -828,7 +828,8 @@ class TbgParser(object):
type_replacement = simple_type_resovler(node.attrib["type"])
cond_node = get_cond_node(node, parent)
if count == 1:
- dummy += "free(dummy->" + field_name + ");\n"
+ #-FIXME i should really do something about memory management.this is getting out of hand...
+ #dummy += "free(dummy->" + field_name + ");\n"
for con_child in node:
child_def_node = get_def_node(con_child.attrib["type"][6:], self.elems)
dummy += "if (dummy->"+cond_node.attrib["name"]+" == "+con_child.text+"){"