aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-09-24 13:24:22 +0000
committerbloodstalker <thabogre@gmail.com>2018-09-24 13:24:22 +0000
commit48fafb78456bdf809869e8b87db8847b2d9be62e (patch)
tree65b9953bbeb17e688d6ab097a013e335a691918b
parentfix (diff)
downloadluatablegen-48fafb78456bdf809869e8b87db8847b2d9be62e.tar.gz
luatablegen-48fafb78456bdf809869e8b87db8847b2d9be62e.zip
fix
Diffstat (limited to '')
-rwxr-xr-xluatablegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/luatablegen.py b/luatablegen.py
index 4d72ef9..83d1ea5 100755
--- a/luatablegen.py
+++ b/luatablegen.py
@@ -555,7 +555,7 @@ class TbgParser(object):
if childer.attrib["luatype"] == "integer": c_source.write("lua_pushinteger(__ls, _st->" + child.attrib["name"] + ");\n")
elif childer.attrib["luatype"] == "number":c_source.write("lua_pushnumber(__ls, _st->" + child.attrib["name"] + ");\n")
elif childer.attrib["luatype"] == "string":c_source.write("lua_pushstring(__ls, _st->" + child.attrib["name"] + ");\n")
- elif childer.attrib["luatype"] == "table":
+ elif childer.attrib["luatype"] == "lightuserdata":
count = get_elem_count(childer)
if count == 1:
ref_type_node = get_def_node_tag(childer.attrib["type"][6:], self.elems)