summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-08-21 16:57:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-08-21 16:57:39 +0800
commit1cc261f303969e6be99f139224869e300fdffc2f (patch)
tree03973c352fe34b494651c1da7fcc130863654660 /script
parentbe5b77b7956970647d4d12d0e83ccf9bb410565b (diff)
downloadlua-language-server-1cc261f303969e6be99f139224869e300fdffc2f.zip
fix
Diffstat (limited to 'script')
-rw-r--r--script/parser/luadoc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 1365adfc..81869638 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -1143,13 +1143,13 @@ local docSwitch = util.switch()
end)
: case 'meta'
: call(function ()
- local requireName = parseName('doc.meta.name')
- return {
+ local meta = {
type = 'doc.meta',
- name = requireName,
start = getFinish(),
finish = getFinish(),
}
+ meta.name = parseName('doc.meta.name', meta)
+ return meta
end)
: case 'version'
: call(function ()