From 5ec0d2b4a2e85d56e8ba05ecb7a0a3925974f2e8 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 20 Sep 2018 17:48:03 +0430 Subject: update --- luatablegen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/luatablegen.py b/luatablegen.py index 84312be..ee2d4d0 100755 --- a/luatablegen.py +++ b/luatablegen.py @@ -608,6 +608,7 @@ class TbgParser(object): rev_counter += 1 c_source.write(dummy) dummy = str() + c_source.write("lua_pop(__ls,"+repr(len(field_types))+");\n") c_source.write(NEW[2].replace("XXX", struct_name)) for field_name in field_names: c_source.write("\tdummy->" + field_name + " = " + field_name + ";\n") -- cgit v1.2.3