diff options
Diffstat (limited to 'server/src/matcher/definition.lua')
-rw-r--r-- | server/src/matcher/definition.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/matcher/definition.lua b/server/src/matcher/definition.lua index 18804516..b4a19b55 100644 --- a/server/src/matcher/definition.lua +++ b/server/src/matcher/definition.lua @@ -22,6 +22,12 @@ local function parseResultAcrossUri(positions, vm, result) end end end + if #positions == 0 then + positions[#positions+1] = { + 0, 0, + result.value.uri, + } + end end local function parseResult(vm, result) |