diff options
Diffstat (limited to 'script/core/searcher.lua')
-rw-r--r-- | script/core/searcher.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua index c5180a54..3c210b1b 100644 --- a/script/core/searcher.lua +++ b/script/core/searcher.lua @@ -850,7 +850,6 @@ function m.searchRefsByID(status, suri, expect, mode) local function searchNode(uri, id, field) local noders = nodersMap[uri] local call = noders.call[id] - local global = isGlobalID(id) callStack[#callStack+1] = call if field == nil and not ignoredSources[id] then @@ -865,8 +864,8 @@ function m.searchRefsByID(status, suri, expect, mode) checkRequire(uri, requireName, field) end - local elock = global and elockMap['@global'] or elockMap[uri] - local ecall = global and ecallMap['@global'] or ecallMap[uri] + local elock = elockMap[uri] + local ecall = ecallMap[uri] if lockExpanding(elock, ecall, id, field) then if noders.forward[id] then |