mirror of
https://github.com/vim/vim.git
synced 2025-08-25 19:53:53 -04:00
patch 9.1.1582: style issue in vim9type.c and vim9generics.c
Problem: style issue in vim9type.c and vim9generics.c (after v9.1.1581 and v9.1.1580) Solution: Update Style and place opening brace on a new line. Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
774fe9d8fc
commit
d680d40539
@ -719,6 +719,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1582,
|
||||||
/**/
|
/**/
|
||||||
1581,
|
1581,
|
||||||
/**/
|
/**/
|
||||||
|
@ -305,7 +305,8 @@ parse_generic_func_type_args(
|
|||||||
char *ret_name = type_name(type_arg, &ret_free);
|
char *ret_name = type_name(type_arg, &ret_free);
|
||||||
|
|
||||||
// create space for the name and the new type
|
// create space for the name and the new type
|
||||||
if (ga_grow(&gfatab->gfat_args, 1) == FAIL) {
|
if (ga_grow(&gfatab->gfat_args, 1) == FAIL)
|
||||||
|
{
|
||||||
vim_free(ret_free);
|
vim_free(ret_free);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -1886,7 +1886,8 @@ parse_type_tuple(
|
|||||||
ret_type = alloc_tuple_type(typecount, type_gap);
|
ret_type = alloc_tuple_type(typecount, type_gap);
|
||||||
ret_type->tt_flags = flags;
|
ret_type->tt_flags = flags;
|
||||||
ret_type->tt_argcount = typecount;
|
ret_type->tt_argcount = typecount;
|
||||||
if (tuple_type_add_types(ret_type, typecount, type_gap) == FAIL) {
|
if (tuple_type_add_types(ret_type, typecount, type_gap) == FAIL)
|
||||||
|
{
|
||||||
ret_type = NULL;
|
ret_type = NULL;
|
||||||
goto on_err;
|
goto on_err;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user