diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-12 04:47:49 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-12 04:47:49 +0800 |
commit | 23f9c21952f1ddad594eb54b9d1cfbaf80b929ef (patch) | |
tree | 0e6bdcc85055f1ed7b81e3cf29805cb9c8f10841 /script/parser/luadoc.lua | |
parent | 6e47a81bc1c43a6188e17d3d77bbc88b7932269c (diff) | |
download | lua-language-server-23f9c21952f1ddad594eb54b9d1cfbaf80b929ef.zip |
fix missed parent
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index f9cd3db0..bbfd3ab4 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1019,6 +1019,7 @@ local function parseVersion() end local version = { type = 'doc.version.unit', + parent = result, start = getStart(), } if tp == 'symbol' then @@ -1257,6 +1258,7 @@ local function buildLuaDoc(comment) type = 'doc.tailcomment', start = cstart + comment.start, finish = comment.finish, + parent = result, text = trimTailComment(text:sub(cstart)), } end |