summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-30 02:53:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-30 02:53:15 +0800
commit19e1709f0d53975fa0e752cb64c0c47e3c48bedf (patch)
treec0d76532499682ab3d57da6c83229c3fd21270de /script/parser/luadoc.lua
parent635b266a9188cf87ae856a21308347c113c52250 (diff)
downloadlua-language-server-19e1709f0d53975fa0e752cb64c0c47e3c48bedf.zip
update
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index cfde757b..4dbece5a 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -627,19 +627,6 @@ local function parseResume(parent)
result.additional = additional
end
- local tp = peekToken()
- if tp ~= 'string' then
- pushWarning {
- type = 'LUADOC_MISS_STRING',
- start = getFinish(),
- finish = getFinish(),
- }
- return nil
- end
- local _, str = nextToken()
- result[1] = str
- result.start = getStart()
- result.finish = getFinish()
return result
end