summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-28 03:08:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-28 03:08:24 +0800
commitae024958da9a14ed837495f79972a85458ee3f0c (patch)
tree98acf3e1bdfa552ed266a2033e22ead1a9c044bd /script/parser/luadoc.lua
parentf3019c63409b7bdadb0b7ecedfd3b90a0b29397b (diff)
downloadlua-language-server-ae024958da9a14ed837495f79972a85458ee3f0c.zip
fix diags
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 392b476f..e71c6f18 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -165,7 +165,7 @@ local function nextToken()
Ci = Ci + 1
if not TokenTypes[Ci] then
Ci = Ci - 1
- return nil
+ return nil, nil
end
return TokenTypes[Ci], TokenContents[Ci]
end