summaryrefslogtreecommitdiff
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-11-18 17:17:15 +0100
committerBram Moolenaar <Bram@vim.org>2020-11-18 17:17:15 +0100
commitd92cc130fbb1beacf6411ee5837545f46f9be90e (patch)
treed6b79e63ce4845c810b33434c3de75f9c332af55 /src/errors.h
parent9950280d377a5c0706d141017fcef9cad598b8b0 (diff)
downloadvim-git-d92cc130fbb1beacf6411ee5837545f46f9be90e.tar.gz
patch 8.2.2012: Vim9: confusing error message when using bool wronglyv8.2.2012
Problem: Vim9: confusing error message when using bool wrongly. Solution: Mention "Bool" instead of "Special". (closes #7323)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 969301f9c..5ba6d52be 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -301,3 +301,5 @@ EXTERN char e_cmd_mapping_must_end_with_cr_before_second_cmd[]
INIT(=N_("E1136: <Cmd> mapping must end with <CR> before second <Cmd>"));
EXTERN char e_cmd_maping_must_not_include_str_key[]
INIT(= N_("E1137: <Cmd> mapping must not include %s key"));
+EXTERN char e_using_bool_as_number[]
+ INIT(= N_("E1138: Using a Bool as a Number"));