aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-10-20 15:10:04 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-10-20 15:10:04 -0700
commitc6819cf1e96f471ef0c278c2063a02ab429094fe (patch)
treea00c3430112f8aa67f3bb1a0bf0931524e8ff18b /nomsu.lua
parentb909dce5d11e1b9ae15ae68ec8646e162c30b56d (diff)
More callstack fixin
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/nomsu.lua b/nomsu.lua
index 8597d5b..9b4b2f1 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -808,8 +808,10 @@ end)]]):format(concat(lua_bits, "\n"))
local _list_0 = self.callstack
for _index_0 = 1, #_list_0 do
local c = _list_0[_index_0]
- _accum_0[_len_0] = #c[2]
- _len_0 = _len_0 + 1
+ if c ~= "#macro" then
+ _accum_0[_len_0] = #c[2]
+ _len_0 = _len_0 + 1
+ end
end
return _accum_0
end)())