summaryrefslogtreecommitdiffstats
path: root/src/dict.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-10-22 19:00:01 +0200
committerBram Moolenaar <Bram@vim.org>2020-10-22 19:00:01 +0200
commitb07a39de485db5709a6b3e2f96e66ab06dd76279 (patch)
tree52cc16b985d05060eccbbe7964bdfda1224c7a1b /src/dict.c
parente6e70a10f118ecfa9df2425e8724bc009bd09929 (diff)
patch 8.2.1889: Vim9: errornous error for missing white space after {}v8.2.1889
Problem: Vim9: errornous error for missing white space after {}. Solution: Don't skip over white space after {}. (issue #7167)
Diffstat (limited to 'src/dict.c')
-rw-r--r--src/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c
index 503f5a5223..8d076441b1 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -950,7 +950,7 @@ failret:
return FAIL;
}
- *arg = skipwhite(*arg + 1);
+ *arg = *arg + 1;
if (evaluate)
rettv_dict_set(rettv, d);