0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.1468: Vim9: invalid error for missing white space

Problem:    Vim9: invalid error for missing white space.
Solution:   Don't skip over white space after index. (closes #6718)
This commit is contained in:
Bram Moolenaar
2020-08-16 18:42:53 +02:00
parent e5abf7af08
commit f923571ec1
3 changed files with 10 additions and 1 deletions

View File

@@ -3624,7 +3624,7 @@ eval_index(
clear_tv(&var2);
return FAIL;
}
*arg = skipwhite(*arg + 1); // skip the ']'
*arg = *arg + 1; // skip over the ']'
}
if (evaluate)