summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-08 14:43:22 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-08 14:43:22 +0200
commit267359902c8792fed13543ddeb56c6df0ae74957 (patch)
tree6bc6795fb6eb8d7be15bd5d5799218d5ccc12773 /src/errors.h
parent9e2fa4bb9eb40a78a1ae1f67a4064651b5ce0aac (diff)
patch 8.2.3314: behavior of exists() in a :def function is unpredictablev8.2.3314
Problem: Behavior of exists() in a :def function is unpredictable. Solution: Add exists_compiled().
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 24420e43ef..3b15d105fc 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -646,3 +646,7 @@ EXTERN char e_encryption_sodium_mlock_failed[]
INIT(= N_("E1230: Encryption: sodium_mlock() failed"));
EXTERN char e_cannot_use_bar_to_separate_commands_here_str[]
INIT(= N_("E1231: Cannot use a bar to separate commands here: %s"));
+EXTERN char e_argument_of_exists_compiled_must_be_literal_string[]
+ INIT(= N_("E1232: Argument of exists_compiled() must be a literal string"));
+EXTERN char e_exists_compiled_can_only_be_used_in_def_function[]
+ INIT(= N_("E1233: exists_compiled() can only be used in a :def function"));