summaryrefslogtreecommitdiff
path: root/script/core/searcher.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/searcher.lua')
-rw-r--r--script/core/searcher.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index 97e1a7b8..10a6a537 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -242,15 +242,14 @@ function m.searchRefsByID(status, uri, expect, mode)
if not parentID then
return
end
- search(parentID, linker.SPLIT_CHAR .. linker.RETURN_INDEX_CHAR .. returnIndex)
+ search(parentID, linker.RETURN_INDEX .. returnIndex)
end
local function isCallID(field)
if not field then
return false
end
- if field:sub(1, 1) == linker.SPLIT_CHAR
- and field:sub(2, 2) == linker.RETURN_INDEX_CHAR then
+ if field:sub(1, 2) == linker.RETURN_INDEX then
return true
end
return false