summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-23 20:38:07 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-23 20:38:07 +0800
commit7ddc57e0f0a8b32d7d8bfa9228e856d897fc8de9 (patch)
treedce3b454d310f123631742aad664e370d36569a5 /script/parser
parent5e6897bc1a25b936724af6eeb5fc463a8d395d1e (diff)
downloadlua-language-server-7ddc57e0f0a8b32d7d8bfa9228e856d897fc8de9.zip
update
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/newparser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua
index e4210d0f..96b1fb64 100644
--- a/script/parser/newparser.lua
+++ b/script/parser/newparser.lua
@@ -2627,7 +2627,7 @@ local function parseMultiVars(n1, parser, isLocal)
if not nrest or not nrest[i] then
v.redundant = {
max = max,
- passed = v + 2,
+ passed = i + 2,
}
pushActionIntoCurrentChunk(v)
end