summaryrefslogtreecommitdiffstats
path: root/src/vim9compile.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-12 18:02:06 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-12 18:02:06 +0200
commit82de464f763d6e6d89229be03ce7c6d02fd5fb59 (patch)
tree0ea484040d675f41ae99b07fdf7094ec54c50da0 /src/vim9compile.c
parentbfe13ccc58ccb96f243a58309800410db1ccb52c (diff)
patch 8.2.0558: Vim9: dict code not covered by testsv8.2.0558
Problem: Vim9: dict code not covered by tests. Solution: Remove dead code, adjust test case.
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r--src/vim9compile.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c
index cf91d3bb37..f2f7cc37e9 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -2788,11 +2788,6 @@ compile_dict(char_u **arg, cctx_T *cctx, int literal)
*arg = skipwhite(*arg + 1);
}
- if (**arg != '}')
- {
- semsg(_(e_missing_dict_end), *arg);
- goto failret;
- }
*arg = *arg + 1;
// Allow for following comment, after at least one space.