summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-05-16 11:40:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-05-16 11:40:11 +0800
commit915813465a67d07a354d08a39b45f7bb5ea47c44 (patch)
tree457d08eae9de4851dfca4c71324a1fd9e011591b /script/vm
parentb17a7ec335b2702dd3562ab2d3380effba08a51a (diff)
downloadlua-language-server-915813465a67d07a354d08a39b45f7bb5ea47c44.zip
更新颜色
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/vm.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/vm.lua b/script/vm/vm.lua
index 36ad78c9..bc4f13e3 100644
--- a/script/vm/vm.lua
+++ b/script/vm/vm.lua
@@ -108,6 +108,7 @@ function mt:runFunction(func)
for _, arg in ipairs(func.args) do
if arg:getSource() ~= func:getObject() then
self:bindLocal(arg:getSource(), arg, 'local')
+ arg:getSource():set('arg', true)
end
end