From 02439d6ff9d3632a9abfbb9e2a57569b8a507822 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 20 Sep 2018 16:47:07 +0430 Subject: update --- luatablegen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'luatablegen.py') 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" -- cgit v1.2.3