diff options
Diffstat (limited to 'script-beta/parser/luadoc.lua')
-rw-r--r-- | script-beta/parser/luadoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/parser/luadoc.lua b/script-beta/parser/luadoc.lua index b9f7430f..dfb4b96a 100644 --- a/script-beta/parser/luadoc.lua +++ b/script-beta/parser/luadoc.lua @@ -577,11 +577,11 @@ local function parseReturn() if not result.start then result.start = docType.start end - docType.name = parseName('doc.return.name', docType) if checkToken('symbol', '?', 1) then nextToken() docType.optional = true end + docType.name = parseName('doc.return.name', docType) result.returns[#result.returns+1] = docType if not checkToken('symbol', ',', 1) then break |