summaryrefslogtreecommitdiffstats
path: root/src/ex_eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-04 21:30:47 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-04 21:30:47 +0000
commita6f7929e62c19a6a2418a016b4c59b83eb1887ac (patch)
treedff539628404695bd64e68602c8f7f62d9dd12f7 /src/ex_eval.c
parent548911ee145cdd166f20e46aa720d1631e66f64e (diff)
patch 8.2.4005: error messages are spread outv8.2.4005
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/ex_eval.c')
-rw-r--r--src/ex_eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_eval.c b/src/ex_eval.c
index d9d6b2db54..a48f609306 100644
--- a/src/ex_eval.c
+++ b/src/ex_eval.c
@@ -1406,9 +1406,9 @@ ex_endwhile(exarg_T *eap)
// If we are in a ":while" or ":for" but used the wrong endloop
// command, do not rewind to the next enclosing ":for"/":while".
if (fl & CSF_WHILE)
- eap->errmsg = _("E732: Using :endfor with :while");
+ eap->errmsg = _(e_using_endfor_with_while);
else if (fl & CSF_FOR)
- eap->errmsg = _("E733: Using :endwhile with :for");
+ eap->errmsg = _(e_using_endwhile_with_for);
}
if (!(fl & (CSF_WHILE | CSF_FOR)))
{