diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-10-25 18:21:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-10-25 18:21:40 +0800 |
commit | c848377b107594759492c6ba6566705c9821df32 (patch) | |
tree | 1adec8c9a1d1638bacd23d0658c1c62d6188b72c /script-beta/parser/luadoc.lua | |
parent | 0e12a5a4ad223393a76827ffdd39d27ca3db4bd9 (diff) | |
download | lua-language-server-c848377b107594759492c6ba6566705c9821df32.zip |
更新诊断
Diffstat (limited to 'script-beta/parser/luadoc.lua')
-rw-r--r-- | script-beta/parser/luadoc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script-beta/parser/luadoc.lua b/script-beta/parser/luadoc.lua index 9c9ea113..c55484cf 100644 --- a/script-beta/parser/luadoc.lua +++ b/script-beta/parser/luadoc.lua @@ -720,6 +720,7 @@ local function bindDocs(state) if not isNextLine(lns, binded, doc) then bindDoc(state, lns, binded) binded = {} + state.ast.docs.groups[#state.ast.docs.groups+1] = binded end binded[#binded+1] = doc end @@ -735,6 +736,7 @@ return function (_, state) ast.docs = { type = 'doc', parent = ast, + groups = {}, } pushError = state.pushError |