diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 03:08:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 03:08:24 +0800 |
commit | ae024958da9a14ed837495f79972a85458ee3f0c (patch) | |
tree | 98acf3e1bdfa552ed266a2033e22ead1a9c044bd /script/parser/luadoc.lua | |
parent | f3019c63409b7bdadb0b7ecedfd3b90a0b29397b (diff) | |
download | lua-language-server-ae024958da9a14ed837495f79972a85458ee3f0c.zip |
fix diags
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 2 |
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 |