From e7a73e07625b64a40671a0007ad38a34cbe9d1ee Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 1 Jan 2021 19:17:55 +0100 Subject: patch 8.2.2266: Vim9: it can be hard to see where white space is missing Problem: Vim9: it can be hard to see where white space is missing. Solution: Mention the text where the error was seen. (closes #7580) --- src/errors.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/errors.h') diff --git a/src/errors.h b/src/errors.h index 6f4ac0e1a..eb7239bd9 100644 --- a/src/errors.h +++ b/src/errors.h @@ -41,8 +41,8 @@ EXTERN char e_syntax_error_at_str[] INIT(= N_("E1002: Syntax error at %s")); EXTERN char e_missing_return_value[] INIT(= N_("E1003: Missing return value")); -EXTERN char e_white_space_required_before_and_after_str[] - INIT(= N_("E1004: White space required before and after '%s'")); +EXTERN char e_white_space_required_before_and_after_str_at_str[] + INIT(= N_("E1004: White space required before and after '%s' at \"%s\"")); EXTERN char e_too_many_argument_types[] INIT(= N_("E1005: Too many argument types")); EXTERN char e_str_is_used_as_argument[] -- cgit v1.2.1