Skip to content

Commit 1cc261f

Browse files
committed
fix
1 parent be5b77b commit 1cc261f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script/parser/luadoc.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,13 +1143,13 @@ local docSwitch = util.switch()
11431143
end)
11441144
: case 'meta'
11451145
: call(function ()
1146-
local requireName = parseName('doc.meta.name')
1147-
return {
1146+
local meta = {
11481147
type = 'doc.meta',
1149-
name = requireName,
11501148
start = getFinish(),
11511149
finish = getFinish(),
11521150
}
1151+
meta.name = parseName('doc.meta.name', meta)
1152+
return meta
11531153
end)
11541154
: case 'version'
11551155
: call(function ()

0 commit comments

Comments
 (0)