diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-21 22:20:33 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-21 22:20:33 +0200 |
commit | d8e44476d84b5f0cc8c4de080a47a3a9af547028 (patch) | |
tree | c45296f474fb015dc94cedc81238377efc8e55b0 /src/errors.h | |
parent | 05bd9785fd0fd0102ab64554307bff0ec0ae34c1 (diff) |
patch 8.2.3197: error messages are spread outv8.2.3197
Problem: Error messages are spread out.
Solution: Move a few more error messages to errors.h.
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index ce0d682dd9..8655d3f455 100644 --- a/src/errors.h +++ b/src/errors.h @@ -104,10 +104,43 @@ EXTERN char e_corrupted_regexp_program[] INIT(= N_("E44: Corrupted regexp program")); EXTERN char e_readonly_option_is_set_add_bang_to_override[] INIT(= N_("E45: 'readonly' option is set (add ! to override)")); +#ifdef FEAT_EVAL +EXTERN char e_cannot_change_readonly_variable_str[] + INIT(= N_("E46: Cannot change read-only variable \"%s\"")); +#endif +#ifdef FEAT_QUICKFIX +EXTERN char e_error_while_reading_errorfile[] + INIT(= N_("E47: Error while reading errorfile")); +#endif +#ifdef HAVE_SANDBOX +EXTERN char e_not_allowed_in_sandbox[] + INIT(= N_("E48: Not allowed in sandbox")); +#endif +EXTERN char e_invalid_scroll_size[] + INIT(= N_("E49: Invalid scroll size")); +EXTERN char e_too_many_z[] + INIT(= N_("E50: Too many \\z(")); +EXTERN char e_too_many_str_open[] + INIT(= N_("E51: Too many %s(")); +EXTERN char e_unmatched_z[] + INIT(= N_("E52: Unmatched \\z(")); +EXTERN char e_unmatched_str_percent_open[] + INIT(= N_("E53: Unmatched %s%%(")); +EXTERN char e_unmatched_str_open[] + INIT(= N_("E54: Unmatched %s(")); +EXTERN char e_unmatched_str_close[] + INIT(= N_("E55: Unmatched %s)")); +EXTERN char e_invalid_character_after_str_at[] + INIT(= N_("E59: invalid character after %s@")); +EXTERN char e_too_many_complex_str_curly[] + INIT(= N_("E60: Too many complex %s{...}s")); + +#ifdef FEAT_EVAL EXTERN char e_undefined_variable_str[] INIT(= N_("E121: Undefined variable: %s")); EXTERN char e_undefined_variable_char_str[] INIT(= N_("E121: Undefined variable: %c:%s")); +#endif #ifndef FEAT_DIGRAPHS EXTERN char e_no_digraphs_version[] INIT(= N_("E196: No digraphs in this version")); |