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

patch 8.2.4012: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move the last error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-05 20:24:39 +00:00
parent bb8cac56d9
commit d82a47dd04
34 changed files with 357 additions and 156 deletions

View File

@@ -339,7 +339,7 @@ get_function_args(
}
else if (any_default)
{
emsg(_("E989: Non-default argument follows default argument"));
emsg(_(e_non_default_argument_follows_default_argument));
goto err_ret;
}
@@ -3850,7 +3850,7 @@ trans_function_name(
if (cp != NULL && cp < end)
{
semsg(_("E884: Function name cannot contain a colon: %s"), start);
semsg(_(e_function_name_cannot_contain_colon_str), start);
goto theend;
}
}