aboutsummaryrefslogtreecommitdiff
path: root/nomsu_decompiler.lua
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-12-14 17:55:08 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-12-14 17:55:17 -0800
commitb38d9e0062bf0902241dce182c3389a0c5853c40 (patch)
tree64452119a0700cf97044af709036a5b6d1e97a0d /nomsu_decompiler.lua
parent6ba84a0f507270fba8e7a68901dc256c2979d7f9 (diff)
Fix for nomsu codegen for methods.
Diffstat (limited to 'nomsu_decompiler.lua')
-rw-r--r--nomsu_decompiler.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/nomsu_decompiler.lua b/nomsu_decompiler.lua
index 7882596..418ba96 100644
--- a/nomsu_decompiler.lua
+++ b/nomsu_decompiler.lua
@@ -340,6 +340,7 @@ tree_to_nomsu = function(tree)
end
nomsu:add(target_nomsu)
nomsu:add(target_nomsu:is_multiline() and " \\\n..|" or "|")
+ nomsu:add(recurse(tree[2]))
return nomsu
elseif "EscapedNomsu" == _exp_0 then
nomsu = recurse(tree[1])