From c6819cf1e96f471ef0c278c2063a02ab429094fe Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 20 Oct 2017 15:10:04 -0700 Subject: More callstack fixin --- nomsu.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nomsu.lua') 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)()) -- cgit v1.2.3