summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-09-07 22:12:19 +0200
committerBram Moolenaar <Bram@vim.org>2021-09-07 22:12:19 +0200
commit6853c38b78fe5333f95470e1ff3ca6741247e600 (patch)
treef1cb34af0b184966d3f23297e9d3726b2e43ba03 /src/errors.h
parent89a54b413a8c96206ce7e038dde81a6eff6cd6b8 (diff)
patch 8.2.3411: Vim9: crash when using base name of importv8.2.3411
Problem: Vim9: crash when using base name of import. (Naohiro Ono) Solution: Check the import flags. (closes #8843)
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 b4c111d3f1..dd72a74a9d 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -654,3 +654,5 @@ EXTERN char e_legacy_must_be_followed_by_command[]
INIT(= N_("E1234: legacy must be followed by a command"));
EXTERN char e_function_reference_is_not_set[]
INIT(= N_("E1235: Function reference is not set"));
+EXTERN char e_cannot_use_str_itself_it_is_imported_with_star[]
+ INIT(= N_("E1236: Cannot use %s itself, it is imported with '*'"));