diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-14 16:59:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-14 16:59:55 +0800 |
commit | 2a29458c86628a2af20da4ebeb39a8f81d4ea53a (patch) | |
tree | 92d337224429ab516ec2271b117319c5d5916452 /script/parser/luadoc.lua | |
parent | 321fc84cabff0252f25e94df14746b8e9cb3d190 (diff) | |
download | lua-language-server-2a29458c86628a2af20da4ebeb39a8f81d4ea53a.zip |
update parser
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index da612e60..26341571 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1375,7 +1375,7 @@ local function bindDocs(state) bindDoc(sources, Lines, binded) end -return function (_, state) +return function (state) local ast = state.ast local comments = state.comms table.sort(comments, function (a, b) @@ -1389,7 +1389,7 @@ return function (_, state) pushError = state.pushError - Lines = lines(nil, state.lua) + Lines = lines(state.lua) local ci = 1 NextComment = function (offset, peek) |