summaryrefslogtreecommitdiffstats
path: root/src/ex_eval.c
diff options
context:
space:
mode:
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 4f4a0a6f8a..9a4780232c 100644
--- a/src/ex_eval.c
+++ b/src/ex_eval.c
@@ -1316,7 +1316,7 @@ ex_continue(exarg_T *eap)
cstack_T *cstack = eap->cstack;
if (cstack->cs_looplevel <= 0 || cstack->cs_idx < 0)
- eap->errmsg = _(e_continue);
+ eap->errmsg = _(e_continue_without_while_or_for);
else
{
// Try to find the matching ":while". This might stop at a try
@@ -1354,7 +1354,7 @@ ex_break(exarg_T *eap)
cstack_T *cstack = eap->cstack;
if (cstack->cs_looplevel <= 0 || cstack->cs_idx < 0)
- eap->errmsg = _(e_break);
+ eap->errmsg = _(e_break_without_while_or_for);
else
{
// Inactivate conditionals until the matching ":while" or a try