diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-28 17:55:26 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-28 17:55:26 +0000 |
commit | 7473a84cf935f64ddd4ea7fe7eee0f9c51c50b60 (patch) | |
tree | 19fbc65c6b7484971559c5be81745a780cf1143a /src/errors.h | |
parent | 4bf1006cae7e87259ccd5219128c3dba75774441 (diff) |
patch 8.2.3924: Vim9: no error if something follows :enddefv8.2.3924
Problem: Vim9: no error if something follows :enddef in a nested function.
Solution: Give an error. Move common code to a function.
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errors.h b/src/errors.h index 5ca74cc1d0..692574b1d0 100644 --- a/src/errors.h +++ b/src/errors.h @@ -717,8 +717,8 @@ EXTERN char e_missing_end_block[] INIT(= N_("E1171: Missing } after inline function")); EXTERN char e_cannot_use_default_values_in_lambda[] INIT(= N_("E1172: Cannot use default values in a lambda")); -EXTERN char e_text_found_after_enddef_str[] - INIT(= N_("E1173: Text found after enddef: %s")); +EXTERN char e_text_found_after_str_str[] + INIT(= N_("E1173: Text found after %s: %s")); EXTERN char e_string_required_for_argument_nr[] INIT(= N_("E1174: String required for argument %d")); EXTERN char e_non_empty_string_required_for_argument_nr[] |