summaryrefslogtreecommitdiff
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-20 12:07:58 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-20 12:07:58 +0100
commit62e0e2e54b34b618500be4521ab1c33e1c378b42 (patch)
tree850c906638653186c4d9db3d6a46656ed6ce062f /src/errors.h
parente80086446cc20856ed8359bc8dc87c4d430da4c8 (diff)
downloadvim-git-62e0e2e54b34b618500be4521ab1c33e1c378b42.tar.gz
patch 9.0.0229: Vim9: error message for missing type is not clearv9.0.0229
Problem: Vim9: error message for missing type is not clear. Solution: Mention the context. (issue #10944)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/errors.h b/src/errors.h
index 8aad956d9..bc1145db8 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -2634,10 +2634,10 @@ EXTERN char e_str_is_used_as_argument[]
INIT(= N_("E1006: %s is used as an argument"));
EXTERN char e_mandatory_argument_after_optional_argument[]
INIT(= N_("E1007: Mandatory argument after optional argument"));
-EXTERN char e_missing_type[]
- INIT(= N_("E1008: Missing <type>"));
-EXTERN char e_missing_gt_after_type[]
- INIT(= N_("E1009: Missing > after type"));
+EXTERN char e_missing_type_after_str[]
+ INIT(= N_("E1008: Missing <type> after %s"));
+EXTERN char e_missing_gt_after_type_str[]
+ INIT(= N_("E1009: Missing > after type: %s"));
EXTERN char e_type_not_recognized_str[]
INIT(= N_("E1010: Type not recognized: %s"));
EXTERN char e_name_too_long_str[]