summaryrefslogtreecommitdiff
path: root/script/parser/newparser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/newparser.lua')
-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