summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 10a0b4d7..aeef1a37 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -643,7 +643,7 @@ function parseType(parent)
return false
end
local line = Lines[row + i + 1]
- if line.finish < nextComm.start then
+ if not line or line.finish < nextComm.start then
return false
end
if nextComm.text:sub(1, 2) == '-@' then