summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ()