summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-08 20:35:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-08 20:35:02 +0800
commitc082743f26413673dc71cf04f6f25c4f9e34f96c (patch)
tree4b604e29de6623913d02ac128572829ed45c8262 /script/parser
parent3c265f1bd4409c5713e88127e8fdca23870ea3c1 (diff)
downloadlua-language-server-c082743f26413673dc71cf04f6f25c4f9e34f96c.zip
cleanup
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/newparser.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua
index 0b721a7a..cee6d499 100644
--- a/script/parser/newparser.lua
+++ b/script/parser/newparser.lua
@@ -2094,6 +2094,7 @@ local function parseParams(params)
start = getPosition(Tokens[Index], 'left'),
finish = getPosition(Tokens[Index] + 2, 'right'),
parent = params,
+ [1] = '...',
}
local chunk = Chunk[#Chunk]
chunk.vararg = vararg