summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-21 22:36:47 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-21 22:36:47 +0200
commit7cb6fc29d067ed97c0b0c1d2d5767125ef9ae1ab (patch)
treea5307e1932b80df92df373384835b4c90b6db628 /src/errors.h
parent81e17fbe00fd2ed93b262adc3ba41c86b02e7f46 (diff)
patch 8.2.1504: Vim9: white space checks are only done for a :def functionv8.2.1504
Problem: Vim9: white space checks are only done for a :def function. Solution: Also do checks at the script level. Adjust the name of a few error messages.
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/errors.h b/src/errors.h
index 60be6c17f0..a49aa738d1 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -33,7 +33,7 @@ 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[]
+EXTERN char e_white_space_required_before_and_after_str[]
INIT(= N_("E1004: white space required before and after '%s'"));
EXTERN char e_too_many_argument_types[]
INIT(= N_("E1005: Too many argument types"));
@@ -156,13 +156,13 @@ EXTERN char e_type_mismatch_for_v_variable[]
INIT(= N_("E1063: type mismatch for v: variable"));
// E1064 unused
// E1065 unused
-EXTERN char e_cannot_declare_a_register[]
+EXTERN char e_cannot_declare_a_register_str[]
INIT(= N_("E1066: Cannot declare a register: %s"));
-EXTERN char e_separator_mismatch[]
+EXTERN char e_separator_mismatch_str[]
INIT(= N_("E1067: Separator mismatch: %s"));
-EXTERN char e_no_white_space_allowed_before[]
+EXTERN char e_no_white_space_allowed_before_str[]
INIT(= N_("E1068: No white space allowed before '%s'"));
-EXTERN char e_white_space_required_after[]
+EXTERN char e_white_space_required_after_str[]
INIT(= N_("E1069: white space required after '%s'"));
EXTERN char e_missing_from[]
INIT(= N_("E1070: Missing \"from\""));
@@ -170,7 +170,7 @@ EXTERN char e_invalid_string_after_from[]
INIT(= N_("E1071: Invalid string after \"from\""));
EXTERN char e_cannot_compare_str_with_str[]
INIT(= N_("E1072: Cannot compare %s with %s"));
-EXTERN char e_name_already_defined[]
+EXTERN char e_name_already_defined_str[]
INIT(= N_("E1073: name already defined: %s"));
EXTERN char e_no_white_space_allowed_after_dot[]
INIT(= N_("E1074: no white space allowed after dot"));