1
0
forked from aniani/vim

patch 8.2.1657: Vim9: no proper error for nested ":def!"

Problem:    Vim9: no proper error for nested ":def!".
Solution:   Check for "!". (closes #6920)
This commit is contained in:
Bram Moolenaar
2020-09-10 22:28:01 +02:00
parent dfa3d5524e
commit 8b848cafb0
4 changed files with 27 additions and 0 deletions

View File

@@ -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