summaryrefslogtreecommitdiff
path: root/script-beta/parser/luadoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/parser/luadoc.lua')
-rw-r--r--script-beta/parser/luadoc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/script-beta/parser/luadoc.lua b/script-beta/parser/luadoc.lua
index b0cea88d..469c086f 100644
--- a/script-beta/parser/luadoc.lua
+++ b/script-beta/parser/luadoc.lua
@@ -194,9 +194,9 @@ local function parseClass(parent)
nextToken()
if not checkToken('symbol', ':') then
pushError {
- type = 'LUADOC_MISS_EXTENSION_SYMBOL',
- start = getFinish(),
- finish = getFinish(),
+ type = 'LUADOC_MISS_EXTENDS_SYMBOL',
+ start = result.finish + 1,
+ finish = getStart() - 1,
}
return result
end