summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-06-12 12:16:55 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-12 12:16:55 +0200
commit22db0d549f64aa3d8a6e366b70eb8d7e66933b82 (patch)
tree452b275fdd0cb175cce79982b1688ae1bbbc7434 /src/errors.h
parent8de901e1f1b051e02a61ae76ad7c925e4c0642e5 (diff)
patch 8.2.2977: crash when using a null function referencev8.2.2977
Problem: Crash when using a null function reference. (Naohiro Ono) Solution: Check for an invalid function name. (closes #8367)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index fac3e26d8b..63e2659f73 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -425,3 +425,5 @@ EXTERN char e_nr_arguments_too_few[]
INIT(= N_("E1190: %d arguments too few"));
EXTERN char e_call_to_function_that_failed_to_compile_str[]
INIT(= N_("E1191: Call to function that failed to compile: %s"));
+EXTERN char e_empty_function_name[]
+ INIT(= N_("E1192: Empty function name"));