summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-05-12 14:54:40 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-05-12 14:54:40 +0800
commitcbff022761f244cbb8940f812ede207c44ab2614 (patch)
treecb4b04f568cb71136103103d2b348d77a1729542 /script/parser
parent3b97d7d4d54755517db0fd776c006bbb37313967 (diff)
downloadlua-language-server-cbff022761f244cbb8940f812ede207c44ab2614.zip
update generic
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/ast.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/parser/ast.lua b/script/parser/ast.lua
index 47093f0e..b2a9fa37 100644
--- a/script/parser/ast.lua
+++ b/script/parser/ast.lua
@@ -1461,9 +1461,9 @@ local Defs = {
if func then
local call = createCall(exp, func.finish + 1, exp.finish)
if #exp == 0 then
- exp[1] = getSelect(func, 1)
- exp[2] = getSelect(func, 2)
- exp[3] = getSelect(func, 3)
+ exp[1] = getSelect(func, 2)
+ exp[2] = getSelect(func, 3)
+ exp[3] = getSelect(func, 4)
end
call.node = func
call.start = inA