summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-04-17 15:06:35 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-17 15:06:35 +0100
commit8b91e71441069b1dde9ac9ff9d9a829b1b4aecca (patch)
tree9b020a9e9ae446c5b11fb14399002fbcb5e99458 /src/errors.h
parenta9549c9e8f368a7fa1dcbe14ec23e82c6a0b8715 (diff)
patch 8.2.4774: crash when using a number for lambda namev8.2.4774
Problem: Crash when using a number for lambda name. Solution: Check the type of the lambda reference.
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 b95644a100..0c6134034d 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3259,3 +3259,7 @@ EXTERN char e_nfa_regexp_missing_value_in_chr[]
INIT(= N_("E1273: (NFA regexp) missing value in '\\%%%c'"));
EXTERN char e_no_script_file_name_to_substitute_for_script[]
INIT(= N_("E1274: No script file name to substitute for \"<script>\""));
+#ifdef FEAT_EVAL
+EXTERN char e_string_or_function_required_for_arrow_parens_expr[]
+ INIT(= N_("E1275: String or function required for ->(expr)"));
+#endif