aboutsummaryrefslogtreecommitdiff
path: root/nomsu_decompiler.lua
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-15 17:48:14 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-15 17:48:35 -0800
commit5c9674880206f66c109adc1bedf8f786166f125f (patch)
tree30d95a1aacd2b30f8cb060846cbe9efd09e31aca /nomsu_decompiler.lua
parentf6fe028f1786d7e582623fc26df916fcd05c2e31 (diff)
Fix for formatting indented code with the format tool.
Diffstat (limited to 'nomsu_decompiler.lua')
-rw-r--r--nomsu_decompiler.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/nomsu_decompiler.lua b/nomsu_decompiler.lua
index 9224f25..164470f 100644
--- a/nomsu_decompiler.lua
+++ b/nomsu_decompiler.lua
@@ -352,9 +352,6 @@ tree_to_nomsu = function(tree)
nomsu:add(tree_to_nomsu(chunk))
end
end
- if not (nomsu:match("\n$")) then
- nomsu:add('\n')
- end
return nomsu
elseif "Action" == _exp_0 then
local next_space = ""