diff options
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index 041837830..2b1408932 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -3109,11 +3109,11 @@ nextline: if (cctx.ctx_scope != NULL) { if (cctx.ctx_scope->se_type == IF_SCOPE) - emsg(_(e_endif)); + emsg(_(e_missing_endif)); else if (cctx.ctx_scope->se_type == WHILE_SCOPE) - emsg(_(e_endwhile)); + emsg(_(e_missing_endwhile)); else if (cctx.ctx_scope->se_type == FOR_SCOPE) - emsg(_(e_endfor)); + emsg(_(e_missing_endfor)); else emsg(_(e_missing_rcurly)); goto erret; |