diff options
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index 373d76c6e2..a6bdcc3f3d 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -2822,7 +2822,10 @@ compile_dict(char_u **arg, cctx_T *cctx, int literal) failret: if (*arg == NULL) + { semsg(_(e_missing_dict_end), _("[end of lines]")); + *arg = (char_u *)""; + } dict_unref(d); return FAIL; } |