diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-31 17:25:48 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-31 17:25:48 +0000 |
commit | 1a9922243a90f213894d5c58cd063465eea3350f (patch) | |
tree | b9fb1efe82d000b215d8b99750372e4f2ec7ba92 /src/vim9cmds.c | |
parent | 4b1478093eb8b8bebc94b1f596e0afc25db4d189 (diff) | |
download | vim-git-1a9922243a90f213894d5c58cd063465eea3350f.tar.gz |
patch 8.2.3957: error messages are spread outv8.2.3957
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Diffstat (limited to 'src/vim9cmds.c')
-rw-r--r-- | src/vim9cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vim9cmds.c b/src/vim9cmds.c index d3411540f..eb28a7922 100644 --- a/src/vim9cmds.c +++ b/src/vim9cmds.c @@ -1520,11 +1520,11 @@ compile_endtry(char_u *arg, cctx_T *cctx) if (scope == NULL) emsg(_(e_no_endtry)); else if (scope->se_type == WHILE_SCOPE) - emsg(_(e_endwhile)); + emsg(_(e_missing_endwhile)); else if (scope->se_type == FOR_SCOPE) - emsg(_(e_endfor)); + emsg(_(e_missing_endfor)); else - emsg(_(e_endif)); + emsg(_(e_missing_endif)); return NULL; } |