diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-11 18:06:37 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-11 18:06:37 +0800 |
commit | 650af818eb185d3261648cac615e9f8ce99b0d50 (patch) | |
tree | 6ac471172f63b6fe9acba8f09222fb6973b26589 /script/core | |
parent | e66956e016a2f9ab635d00a9cb8b2d4bb99bc3a2 (diff) | |
download | lua-language-server-650af818eb185d3261648cac615e9f8ce99b0d50.zip |
update
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/noder.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua index 4eb392e9..1e62ed2e 100644 --- a/script/core/noder.lua +++ b/script/core/noder.lua @@ -582,7 +582,7 @@ function m.compileNode(noders, source) source.sindex ) pushForward(noders, id, callXID) - pushBackward(noders, callXID, id) + --pushBackward(noders, callXID, id) getNode(noders, id).call = call if node.special == 'pcall' or node.special == 'xpcall' then @@ -600,7 +600,7 @@ function m.compileNode(noders, source) index ) pushForward(noders, id, funcXID) - pushBackward(noders, funcXID, id) + --pushBackward(noders, funcXID, id) end end if source.vararg.type == 'varargs' then @@ -725,7 +725,7 @@ function m.compileNode(noders, source) pushForward(noders, returnID, getID(rtnObj)) if rtnObj.type == 'function' or rtnObj.type == 'call' then - pushBackward(noders, getID(rtnObj), returnID) + --pushBackward(noders, getID(rtnObj), returnID) end end end @@ -747,7 +747,7 @@ function m.compileNode(noders, source) local rtnObj = rtn[1] if rtnObj then pushForward(noders, 'mainreturn', getID(rtnObj)) - pushBackward(noders, getID(rtnObj), 'mainreturn') + --pushBackward(noders, getID(rtnObj), 'mainreturn') end end end |