diff src/errors.h @ 22216:f9b4576a618b v8.2.1657

patch 8.2.1657: Vim9: no proper error for nested ":def!" Commit: https://github.com/vim/vim/commit/8b848cafb0a88f8d8e8f46caa8d67431b4faa374 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 10 22:28:01 2020 +0200 patch 8.2.1657: Vim9: no proper error for nested ":def!" Problem: Vim9: no proper error for nested ":def!". Solution: Check for "!". (closes https://github.com/vim/vim/issues/6920)
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Sep 2020 22:30:03 +0200
parents c512e6f57ff2
children eb1f5f618c75
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -256,4 +256,6 @@ EXTERN char e_assert_fails_fourth_argume
 	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