0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.2251: test failures in legacy script

Problem:    Test failures in legacy script.
Solution:   Check for Vim9 script.
This commit is contained in:
Bram Moolenaar 2020-12-30 21:16:37 +01:00
parent de4f95b041
commit a04d447d3a
2 changed files with 3 additions and 1 deletions

View File

@ -3777,7 +3777,7 @@ eval_index(
{ {
range = TRUE; range = TRUE;
++*arg; ++*arg;
if (!IS_WHITE_OR_NUL(**arg) && **arg != ']') if (vim9 && !IS_WHITE_OR_NUL(**arg) && **arg != ']')
{ {
semsg(_(e_white_space_required_before_and_after_str), ":"); semsg(_(e_white_space_required_before_and_after_str), ":");
if (!empty1) if (!empty1)

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2251,
/**/ /**/
2250, 2250,
/**/ /**/