summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-01 16:59:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-01 16:59:20 +0800
commitdbfde868deadc55e0ae756ba012f8cd50a87e364 (patch)
tree76d0be0b8d2d953f5b0679bddf873dc1b2cc20c3 /script/parser
parent75352f3809bfb34056c682e057d301a1f8b38309 (diff)
downloadlua-language-server-dbfde868deadc55e0ae756ba012f8cd50a87e364.zip
fix #825
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/luadoc.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index d206e6d7..bfadcf8a 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -258,15 +258,7 @@ local function parseClass(parent)
end
result.start = getStart()
result.finish = getFinish()
- if not peekToken() then
- return result
- end
if not checkToken('symbol', ':', 1) then
- pushError {
- type = 'LUADOC_MISS_EXTENDS_SYMBOL',
- start = result.finish + 1,
- finish = getStart(),
- }
return result
end
nextToken()