patch 8.2.3961: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
diff --git a/src/debugger.c b/src/debugger.c
index 57a94a1..54bf6ba 100644
--- a/src/debugger.c
+++ b/src/debugger.c
@@ -594,7 +594,7 @@
bp->dbg_type = DBG_EXPR;
else
{
- semsg(_(e_invarg2), p);
+ semsg(_(e_invalid_argument_str), p);
return FAIL;
}
p = skipwhite(p + 4);
@@ -619,7 +619,7 @@
|| (here && *p != NUL)
|| (bp->dbg_type == DBG_FUNC && strstr((char *)p, "()") != NULL))
{
- semsg(_(e_invarg2), arg);
+ semsg(_(e_invalid_argument_str), arg);
return FAIL;
}