commit | 4bce26bb70144633713e7e8f149ba99cac511336 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jan 22 22:06:56 2021 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jan 22 22:06:56 2021 +0100 |
tree | 4d612e69966b21ce4137281433efef4535d61401 | |
parent | 402115f1c2b4d0704a822206f2e6e931e721c129 [diff] [blame] |
patch 8.2.2393: Vim9: error message when script line starts with "[{" Problem: Vim9: error message when script line starts with "[{". Solution: Do not give an error for checking for end of list.
diff --git a/src/dict.c b/src/dict.c index fc8756c..b267e24 100644 --- a/src/dict.c +++ b/src/dict.c
@@ -1032,7 +1032,8 @@ if (**arg != '}') { - semsg(_(e_missing_dict_end), *arg); + if (evalarg != NULL) + semsg(_(e_missing_dict_end), *arg); failret: if (d != NULL) dict_free(d);