patch 9.0.1594: some internal error messages are translated
Problem: Some internal error messages are translated.
Solution: Consistently do not translate internal error messages.
(closes #12459)
diff --git a/src/regexp_bt.c b/src/regexp_bt.c
index 4749cfa..522cf37 100644
--- a/src/regexp_bt.c
+++ b/src/regexp_bt.c
@@ -1376,7 +1376,7 @@
if (one_exactly)
EMSG_ONE_RET_NULL;
// Supposed to be caught earlier.
- IEMSG_RET_NULL(_(e_internal_error_in_regexp));
+ IEMSG_RET_NULL(e_internal_error_in_regexp);
// NOTREACHED
case Magic('='):
@@ -2477,7 +2477,7 @@
int flags;
if (expr == NULL)
- IEMSG_RET_NULL(_(e_null_argument));
+ IEMSG_RET_NULL(e_null_argument);
init_class_tab();
@@ -3103,7 +3103,7 @@
break;
default: // Oh dear. Called inappropriately.
- iemsg(_(e_corrupted_regexp_program));
+ iemsg(e_corrupted_regexp_program);
#ifdef DEBUG
printf("Called regrepeat with op code %d\n", OP(p));
#endif
@@ -4327,7 +4327,7 @@
break;
default:
- iemsg(_(e_corrupted_regexp_program));
+ iemsg(e_corrupted_regexp_program);
#ifdef DEBUG
printf("Illegal op code %d\n", op);
#endif
@@ -4740,7 +4740,7 @@
{
// We get here only if there's trouble -- normally "case END" is
// the terminating point.
- iemsg(_(e_corrupted_regexp_program));
+ iemsg(e_corrupted_regexp_program);
#ifdef DEBUG
printf("Premature EOL\n");
#endif
@@ -4889,7 +4889,7 @@
// Be paranoid...
if (prog == NULL || line == NULL)
{
- iemsg(_(e_null_argument));
+ iemsg(e_null_argument);
goto theend;
}