Skip to content

Commit ea746f9

Browse files
cvwillegenchrisbra
authored andcommitted
patch 9.0.1990: strange error number
Problem: strange error number Solution: change error number, add doc tag for E1507 closes: #13270 Signed-off-by: Christian Brabandt <[email protected]> Co-authored-by: Christ van Willegen <[email protected]>
1 parent 0e95841 commit ea746f9

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

runtime/doc/builtin.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6884,6 +6884,14 @@ printf({fmt}, {expr1} ...) *printf()*
68846884
< E1505: Invalid format specifier:
68856885
%1$d at width %2$d is: %01$*2$.3$d
68866886

6887+
*E1507*
6888+
This internal error indicates that the logic to
6889+
parse a positional format error ran into a problem
6890+
that couldn't be otherwise reported. Please file a
6891+
bug against vim if you run into this, copying the
6892+
exact format string and parameters that were used.
6893+
6894+
68876895
prompt_getprompt({buf}) *prompt_getprompt()*
68886896
Returns the effective prompt text for buffer {buf}. {buf} can
68896897
be a buffer name or number. See |prompt-buffer|.

runtime/doc/tags

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4510,6 +4510,7 @@ E1503 builtin.txt /*E1503*
45104510
E1504 builtin.txt /*E1504*
45114511
E1505 builtin.txt /*E1505*
45124512
E1506 editing.txt /*E1506*
4513+
E1507 builtin.txt /*E1507*
45134514
E1508 editing.txt /*E1508*
45144515
E1509 editing.txt /*E1509*
45154516
E151 helphelp.txt /*E151*

src/errors.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3554,10 +3554,9 @@ EXTERN char e_invalid_format_specifier_str[]
35543554
INIT(= N_("E1505: Invalid format specifier: %s"));
35553555
EXTERN char e_xattr_erange[]
35563556
INIT(= N_("E1506: Buffer too small to copy xattr value or key"));
3557+
EXTERN char e_aptypes_is_null_nr_str[]
3558+
INIT(= "E1507: Internal error: ap_types or ap_types[idx] is NULL: %d: %s");
35573559
EXTERN char e_xattr_e2big[]
35583560
INIT(= N_("E1508: Size of the extended attribute value is larger than the maximum size allowed"));
35593561
EXTERN char e_xattr_other[]
35603562
INIT(= N_("E1509: Error occured when reading or writing extended attribute"));
3561-
// E1507, E1509 - E1519 unused
3562-
EXTERN char e_aptypes_is_null_nr_str[]
3563-
INIT(= "E1520: Internal error: ap_types or ap_types[idx] is NULL: %d: %s");

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
1990,
707709
/**/
708710
1989,
709711
/**/

0 commit comments

Comments
 (0)