summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-04 21:34:31 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-04 21:34:31 +0000
commit24d9c0557ef52141d12ac32568967b190d247c6f (patch)
tree49ea9a439a258adc97e5897364ef5a63ca6f7c53 /src/errors.h
parentf07751457c39a645009c17cd837131f6bcdd7d55 (diff)
patch 8.2.4506: "pattern not found" for :global is not an error messagev8.2.4506
Problem: "pattern not found" for :global is not an error message. Solution: In Vim9 script make this an actual error, so that try/catch can be used as expected.
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h
index e08186ef2f..6f25af6afc 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -1346,7 +1346,8 @@ EXTERN char e_comma_required[]
EXTERN char e_commentstring_must_be_empty_or_contain_str[]
INIT(= N_("E537: 'commentstring' must be empty or contain %s"));
#endif
-// E538 unused
+EXTERN char e_pattern_found_in_every_line_str[]
+ INIT(= N_("E538: Pattern found in every line: %s"));
EXTERN char e_illegal_character_str[]
INIT(= N_("E539: Illegal character <%s>"));
#ifdef FEAT_STL_OPT