1
0
forked from aniani/vim

patch 9.0.0535: closure gets wrong value in for loop with two loop variables

Problem:    Closure gets wrong value in for loop with two loop variables.
Solution:   Correctly compute the number of loop variables to clear.
This commit is contained in:
Bram Moolenaar
2022-09-21 18:59:14 +01:00
parent ec5e1483eb
commit e8e369a796
5 changed files with 34 additions and 5 deletions

View File

@@ -1315,8 +1315,8 @@ skip_var_list(
}
return p + 1;
}
else
return skip_var_one(arg, include_type);
return skip_var_one(arg, include_type);
}
/*