diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-22 16:54:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-22 16:54:15 +0800 |
commit | a45e980f0d51c47229d18d0f859e718d203b472f (patch) | |
tree | c9d0a3924f9693ff41e70b405db13fbc815a2903 /script | |
parent | b66a9c9340d63e1a22ba7d5ccad8d9df244240d1 (diff) | |
download | lua-language-server-a45e980f0d51c47229d18d0f859e718d203b472f.zip |
update
Diffstat (limited to 'script')
-rw-r--r-- | script/core/noder.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua index 52ab7731..d6069833 100644 --- a/script/core/noder.lua +++ b/script/core/noder.lua @@ -1250,6 +1250,7 @@ compileNodeMap = util.switch() start = node.start, finish = node.finish, vararg = node, + parent = source, } compileCallReturn(noders, node, getID(param1), 2) if not param2 then @@ -1260,6 +1261,7 @@ compileNodeMap = util.switch() start = node.start, finish = node.finish, vararg = node, + parent = source, } compileCallReturn(noders, node, getID(param2), 3) end @@ -1271,7 +1273,8 @@ compileNodeMap = util.switch() start = source.keyword[3], finish = source.keyword[6], node = node, - args = { param1, param2 } + args = { param1, param2 }, + parent = source, } for i = 1, #keys do compileCallReturn(noders, call, getID(keys[i]), i) |