summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-04-04 18:32:32 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-04 18:32:32 +0100
commit91ff3d4f52a55a7c37a52aaad524cd9dd12efae4 (patch)
treec07ec4757a25bbbd1357c7c85b8506eab9751006 /src/errors.h
parente8a4c0d91f89544e4f94b7bd612b5fb780944c33 (diff)
patch 8.2.4688: new regexp engine does not give an error for "\%v"v8.2.4688
Problem: New regexp engine does not give an error for "\%v". Solution: Check for a value argument. (issue #10079)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h
index 951acabb29..82c585e7e6 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3082,7 +3082,7 @@ EXTERN char e_no_white_space_allowed_after_str_str[]
EXTERN char e_dot_can_only_be_used_on_dictionary_str[]
INIT(= N_("E1203: Dot can only be used on a dictionary: %s"));
#endif
-EXTERN char e_regexp_number_after_dot_pos_search[]
+EXTERN char e_regexp_number_after_dot_pos_search_chr[]
INIT(= N_("E1204: No Number allowed after .: '\\%%%c'"));
EXTERN char e_no_white_space_allowed_between_option_and[]
INIT(= N_("E1205: No white space allowed between option and"));
@@ -3256,3 +3256,5 @@ EXTERN char e_compiling_closure_without_context_str[]
EXTERN char e_using_type_not_in_script_context_str[]
INIT(= N_("E1272: Using type not in a script context: %s"));
#endif
+EXTERN char e_nfa_regexp_missing_value_in_chr[]
+ INIT(= N_("E1273: (NFA regexp) missing value in '\\%%%c'"));