0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3961: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more errors to errors.h.
This commit is contained in:
Bram Moolenaar
2021-12-31 22:49:24 +00:00
parent f1474d801b
commit 436b5adc97
62 changed files with 427 additions and 403 deletions

View File

@@ -594,7 +594,7 @@ dbg_parsearg(
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 @@ dbg_parsearg(
|| (here && *p != NUL)
|| (bp->dbg_type == DBG_FUNC && strstr((char *)p, "()") != NULL))
{
semsg(_(e_invarg2), arg);
semsg(_(e_invalid_argument_str), arg);
return FAIL;
}