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 392b476f..e71c6f18 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -165,7 +165,7 @@ local function nextToken()
Ci = Ci + 1
if not TokenTypes[Ci] then
Ci = Ci - 1
- return nil
+ return nil, nil
end
return TokenTypes[Ci], TokenContents[Ci]
end