patch 8.2.4008: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-05 16:09:06 +00:00
parent 8e7d9db32b
commit 677658ae49
28 changed files with 187 additions and 76 deletions

View File

@ -2019,7 +2019,7 @@ collection:
startc = oldstartc;
if (startc > endc)
EMSG_RET_FAIL(_(e_reverse_range));
EMSG_RET_FAIL(_(e_reverse_range_in_character_class));
if (endc > startc + 2)
{
@ -2128,7 +2128,7 @@ collection:
} // if exists closing ]
if (reg_strict)
EMSG_RET_FAIL(_(e_missingbracket));
EMSG_RET_FAIL(_(e_missing_rsb_after_str_lsb));
// FALLTHROUGH
default: