diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-02 17:36:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-02 17:36:54 +0100 |
commit | e0de171ecd2ff7acd56deda2cf81f0d13a69c803 (patch) | |
tree | 87667e0ae5a5517461d7f4e59514d9495170a05a /src/eval.c | |
parent | 7f76494aac512b1d603d9be4132184241f43872c (diff) | |
download | vim-git-e0de171ecd2ff7acd56deda2cf81f0d13a69c803.tar.gz |
patch 8.2.2082: Vim9: can still use the depricated #{} dict syntaxv8.2.2082
Problem: Vim9: can still use the depricated #{} dict syntax.
Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 199dc9c0a..223251090 100644 --- a/src/eval.c +++ b/src/eval.c @@ -3254,7 +3254,7 @@ eval7( /* * Dictionary: #{key: val, key: val} */ - case '#': if ((*arg)[1] == '{') + case '#': if (!in_vim9script() && (*arg)[1] == '{') { ++*arg; ret = eval_dict(arg, rettv, evalarg, TRUE); |