diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-08 20:35:02 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-08 20:35:02 +0800 |
commit | c082743f26413673dc71cf04f6f25c4f9e34f96c (patch) | |
tree | 4b604e29de6623913d02ac128572829ed45c8262 /script/parser | |
parent | 3c265f1bd4409c5713e88127e8fdca23870ea3c1 (diff) | |
download | lua-language-server-c082743f26413673dc71cf04f6f25c4f9e34f96c.zip |
cleanup
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/newparser.lua | 1 |
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 |