summaryrefslogtreecommitdiffstats
path: root/src/regexp_bt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp_bt.c')
-rw-r--r--src/regexp_bt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/regexp_bt.c b/src/regexp_bt.c
index dae6d519be..1a677d19c1 100644
--- a/src/regexp_bt.c
+++ b/src/regexp_bt.c
@@ -1424,7 +1424,7 @@ regatom(int *flagp)
}
}
else
- EMSG_RET_NULL(_(e_nopresub));
+ EMSG_RET_NULL(_(e_no_previous_substitute_regular_expression));
break;
case Magic('1'):
@@ -2491,7 +2491,7 @@ bt_regcomp(char_u *expr, int re_flags)
int flags;
if (expr == NULL)
- IEMSG_RET_NULL(_(e_null));
+ IEMSG_RET_NULL(_(e_null_argument));
init_class_tab();
@@ -3115,7 +3115,7 @@ do_class:
break;
default: // Oh dear. Called inappropriately.
- iemsg(_(e_re_corr));
+ iemsg(_(e_corrupted_regexp_program));
#ifdef DEBUG
printf("Called regrepeat with op code %d\n", OP(p));
#endif
@@ -4309,7 +4309,7 @@ regmatch(
break;
default:
- iemsg(_(e_re_corr));
+ iemsg(_(e_corrupted_regexp_program));
#ifdef DEBUG
printf("Illegal op code %d\n", op);
#endif
@@ -4709,7 +4709,7 @@ regmatch(
{
// We get here only if there's trouble -- normally "case END" is
// the terminating point.
- iemsg(_(e_re_corr));
+ iemsg(_(e_corrupted_regexp_program));
#ifdef DEBUG
printf("Premature EOL\n");
#endif
@@ -4859,7 +4859,7 @@ bt_regexec_both(
// Be paranoid...
if (prog == NULL || line == NULL)
{
- iemsg(_(e_null));
+ iemsg(_(e_null_argument));
goto theend;
}