summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-16 18:42:53 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-16 18:42:53 +0200
commitf923571ec17b6caeeb7f4abfd7eec3f707ab9c45 (patch)
tree490d04346ddc61143ade2158206ab510ec3a91ca /src/eval.c
parente5abf7af08ff69e7e038c067497f080d4e44332c (diff)
patch 8.2.1468: Vim9: invalid error for missing white spacev8.2.1468
Problem: Vim9: invalid error for missing white space. Solution: Don't skip over white space after index. (closes #6718)
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 37ed5153e7..3c4a8c562d 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -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)