diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-12-01 16:59:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-12-01 16:59:20 +0800 |
commit | dbfde868deadc55e0ae756ba012f8cd50a87e364 (patch) | |
tree | 76d0be0b8d2d953f5b0679bddf873dc1b2cc20c3 /script/parser | |
parent | 75352f3809bfb34056c682e057d301a1f8b38309 (diff) | |
download | lua-language-server-dbfde868deadc55e0ae756ba012f8cd50a87e364.zip |
fix #825
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/luadoc.lua | 8 |
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() |