summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChrist van Willegen <cvwillegen@gmail.com>2023-10-05 20:48:36 +0200
committerChristian Brabandt <cb@256bit.org>2023-10-05 20:48:36 +0200
commitea746f9e862092aef3d4e95c64d116759b9fabe0 (patch)
treeed5524dfd0e1dd4230d4ebb3aafdf0daafb72155
parent0e958410046aa764ec73b14b1d2839053b31d242 (diff)
patch 9.0.1990: strange error numberv9.0.1990
Problem: strange error number Solution: change error number, add doc tag for E1507 closes: #13270 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
-rw-r--r--runtime/doc/builtin.txt8
-rw-r--r--runtime/doc/tags1
-rw-r--r--src/errors.h5
-rw-r--r--src/version.c2
4 files changed, 13 insertions, 3 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 6eecd7afe3..a4eb95e441 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -6884,6 +6884,14 @@ printf({fmt}, {expr1} ...) *printf()*
< E1505: Invalid format specifier:
%1$d at width %2$d is: %01$*2$.3$d
+ *E1507*
+ This internal error indicates that the logic to
+ parse a positional format error ran into a problem
+ that couldn't be otherwise reported. Please file a
+ bug against vim if you run into this, copying the
+ exact format string and parameters that were used.
+
+
prompt_getprompt({buf}) *prompt_getprompt()*
Returns the effective prompt text for buffer {buf}. {buf} can
be a buffer name or number. See |prompt-buffer|.
diff --git a/runtime/doc/tags b/runtime/doc/tags
index c32b679118..ca4eaf9043 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -4510,6 +4510,7 @@ E1503 builtin.txt /*E1503*
E1504 builtin.txt /*E1504*
E1505 builtin.txt /*E1505*
E1506 editing.txt /*E1506*
+E1507 builtin.txt /*E1507*
E1508 editing.txt /*E1508*
E1509 editing.txt /*E1509*
E151 helphelp.txt /*E151*
diff --git a/src/errors.h b/src/errors.h
index 21495cd879..2474e27d4c 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3554,10 +3554,9 @@ EXTERN char e_invalid_format_specifier_str[]
INIT(= N_("E1505: Invalid format specifier: %s"));
EXTERN char e_xattr_erange[]
INIT(= N_("E1506: Buffer too small to copy xattr value or key"));
+EXTERN char e_aptypes_is_null_nr_str[]
+ INIT(= "E1507: Internal error: ap_types or ap_types[idx] is NULL: %d: %s");
EXTERN char e_xattr_e2big[]
INIT(= N_("E1508: Size of the extended attribute value is larger than the maximum size allowed"));
EXTERN char e_xattr_other[]
INIT(= N_("E1509: Error occured when reading or writing extended attribute"));
-// E1507, E1509 - E1519 unused
-EXTERN char e_aptypes_is_null_nr_str[]
- INIT(= "E1520: Internal error: ap_types or ap_types[idx] is NULL: %d: %s");
diff --git a/src/version.c b/src/version.c
index 64c68d99dc..0f73dc25ae 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1990,
+/**/
1989,
/**/
1988,