summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-08 12:49:45 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-08 12:49:45 +0800
commit97b1ab219423555ca38b502d0545f302b3533afe (patch)
tree5162c3cb73239358c3668ebc4a07781c2d1419d5 /script/vm/compiler.lua
parent3c7ba4311186fcefbe2ff7af1c1b67690890d54e (diff)
downloadlua-language-server-97b1ab219423555ca38b502d0545f302b3533afe.zip
fix memory leak
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index 43c7be1e..9c4807ea 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -930,6 +930,7 @@ local compilerSwitch = util.switch()
: call(function (source)
nodeMgr.setNode(source, m.compileNode(source.extends))
end)
+ : case 'doc'
: case 'doc.param'
: call(function (source)
nodeMgr.setNode(source, m.compileNode(source.extends))