diff options
Diffstat (limited to 'script-beta/parser')
-rw-r--r-- | script-beta/parser/luadoc.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/script-beta/parser/luadoc.lua b/script-beta/parser/luadoc.lua index c6c9032a..fa768b81 100644 --- a/script-beta/parser/luadoc.lua +++ b/script-beta/parser/luadoc.lua @@ -451,7 +451,8 @@ local function parseParam() } return nil end - result.start = getStart() + result.start = result.param.start + result.finish = getFinish() result.extends = parseType(result) if checkToken('symbol', '?', 1) then nextToken() @@ -463,7 +464,7 @@ local function parseParam() start = getFinish(), finish = getFinish(), } - return nil + return result end result.finish = getFinish() return result |