summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-29 02:10:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-29 02:10:39 +0800
commitd12fb5e6b1d3b27fe33c04bc557a970f9c4ccb4e (patch)
tree47eec80c3a5678ea4632825fe44393cb5001f26c /script/vm/compiler.lua
parente745667530f0d4fd340beebc1545f86c76c78af1 (diff)
downloadlua-language-server-d12fb5e6b1d3b27fe33c04bc557a970f9c4ccb4e.zip
update
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index 700de562..427b927f 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -747,6 +747,10 @@ local compilerMap = util.switch()
end
end
end)
+ : case 'doc.class.name'
+ : call(function (source)
+ nodeMgr.setNode(source, m.compileNode(source.parent))
+ end)
: case 'doc.field'
: call(function (source)
nodeMgr.setNode(source, m.compileNode(source.extends))