summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
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()