diff options
author | bloodstalker <thabogre@gmail.com> | 2018-09-20 12:17:07 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-09-20 12:17:07 +0000 |
commit | 02439d6ff9d3632a9abfbb9e2a57569b8a507822 (patch) | |
tree | 96d7d85d2126aec9b5087476b53ad925f198a296 | |
parent | update (diff) | |
download | luatablegen-02439d6ff9d3632a9abfbb9e2a57569b8a507822.tar.gz luatablegen-02439d6ff9d3632a9abfbb9e2a57569b8a507822.zip |
update
Diffstat (limited to '')
-rwxr-xr-x | luatablegen.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/luatablegen.py b/luatablegen.py index a1531f2..84312be 100755 --- a/luatablegen.py +++ b/luatablegen.py @@ -587,9 +587,9 @@ class TbgParser(object): ptr = "" if count != 1: ptr = "*" child_node = get_def_node_tag(field_type[6:], self.elems) - print("parent node:" + parent_node.attrib["name"]) - print("field type:" + field_type[6:]) - if child_node != None: print("child_node:" + child_node.attrib["name"]) + #print("parent node:" + parent_node.attrib["name"]) + #print("field type:" + field_type[6:]) + #if child_node != None: print("child_node:" + child_node.attrib["name"]) dummy = "\t"+child_node.attrib["name"] + ptr +"* "+field_name+" = "+"lua_touserdata(__ls,"+repr(rev_counter)+");\n" else: dummy = "\t"+field_type +" "+field_name+" = "+"lua_touserdata(__ls,"+repr(rev_counter)+");\n" |