mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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:
@@ -4524,7 +4524,8 @@ define_function(exarg_T *eap, char_u *name_arg, char_u **line_to_free)
|
||||
linenr_T save_lnum = SOURCING_LNUM;
|
||||
|
||||
SOURCING_LNUM = sourcing_lnum_top;
|
||||
semsg(_("E746: Function name does not match script file name: %s"), name);
|
||||
semsg(_(e_function_name_does_not_match_script_file_name_str),
|
||||
name);
|
||||
SOURCING_LNUM = save_lnum;
|
||||
goto erret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user