summaryrefslogtreecommitdiff
path: root/script/core/noder.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-11 18:06:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-11 18:06:37 +0800
commit650af818eb185d3261648cac615e9f8ce99b0d50 (patch)
tree6ac471172f63b6fe9acba8f09222fb6973b26589 /script/core/noder.lua
parente66956e016a2f9ab635d00a9cb8b2d4bb99bc3a2 (diff)
downloadlua-language-server-650af818eb185d3261648cac615e9f8ce99b0d50.zip
update
Diffstat (limited to 'script/core/noder.lua')
-rw-r--r--script/core/noder.lua8
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