diff src/errors.h @ 24808:0bc60e26a2b5 v8.2.2942

patch 8.2.2942: Vim9: error when calling function with too few arguments Commit: https://github.com/vim/vim/commit/8da6d6db340069b3307e6bce3cdd40441197efce Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 5 18:15:09 2021 +0200 patch 8.2.2942: Vim9: error when calling function with too few arguments Problem: Vim9: internal error when calling function with too few arguments Solution: Check for argument count to be too few. (closes https://github.com/vim/vim/issues/8325)
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Jun 2021 18:30:03 +0200
parents 7464d4c927f5
children c9ccb1976049
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -419,3 +419,7 @@ EXTERN char e_cannot_open_terminal_from_
 	INIT(= N_("E1188: Cannot open a terminal from the command line window"));
 EXTERN char e_cannot_use_legacy_with_command_str[]
 	INIT(= N_("E1189: Cannot use :legacy with this command: %s"));
+EXTERN char e_one_argument_too_few[]
+	INIT(= N_("E1190: One argument too few"));
+EXTERN char e_nr_arguments_too_few[]
+	INIT(= N_("E1190: %d arguments too few"));