summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-10 22:28:01 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-10 22:28:01 +0200
commit8b848cafb0a88f8d8e8f46caa8d67431b4faa374 (patch)
tree9692269664c2bd8f644f83cd54e24fa49f2e96fe /src/errors.h
parentdfa3d5524e816c1ff7f603f9f3b7703a53a0f822 (diff)
patch 8.2.1657: Vim9: no proper error for nested ":def!"v8.2.1657
Problem: Vim9: no proper error for nested ":def!". Solution: Check for "!". (closes #6920)
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 659619944d..c76afbc839 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -256,4 +256,6 @@ EXTERN char e_assert_fails_fourth_argument[]
INIT(= N_("E1115: assert_fails() fourth argument must be a number"));
EXTERN char e_assert_fails_fifth_argument[]
INIT(= N_("E1116: assert_fails() fifth argument must be a string"));
+EXTERN char e_cannot_use_bang_with_nested_def[]
+ INIT(= N_("E1117: Cannot use ! with nested :def"));
#endif