summaryrefslogtreecommitdiff
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-01 19:17:55 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-01 19:17:55 +0100
commite7a73e07625b64a40671a0007ad38a34cbe9d1ee (patch)
tree178142087cbd6bda86fed3cf18d5cc20788aa570 /src/errors.h
parentb8ba9b919708f44b718c17f1fec85b1df8050a17 (diff)
downloadvim-git-e7a73e07625b64a40671a0007ad38a34cbe9d1ee.tar.gz
patch 8.2.2266: Vim9: it can be hard to see where white space is missingv8.2.2266
Problem: Vim9: it can be hard to see where white space is missing. Solution: Mention the text where the error was seen. (closes #7580)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 2 insertions, 2 deletions
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[]