From b909dce5d11e1b9ae15ae68ec8646e162c30b56d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 20 Oct 2017 15:07:57 -0700 Subject: Fix for callstack. --- nomsu.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nomsu.lua') diff --git a/nomsu.lua b/nomsu.lua index 52767cf..8597d5b 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -348,7 +348,7 @@ do local _list_0 = self.callstack for _index_0 = 1, #_list_0 do local caller = _list_0[_index_0] - if whiteset[caller[1]] then + if caller ~= "#macro" and whiteset[caller[1]] then return true end end @@ -369,7 +369,7 @@ do local _list_0 = self.callstack for _index_0 = 1, #_list_0 do local caller = _list_0[_index_0] - if whiteset[caller[1]] then + if caller ~= "#macro" and whiteset[caller[1]] then return true end end -- cgit v1.2.3