forked from aniani/vim
patch 9.1.1279: Vim9: null_object and null_class are no reserved names
Problem: Vim9: null_object and null_class are no reserved names Solution: Add null_object and null_class as reserved names. (Yegappan Lakshmanan) closes: #17054 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
d22f43111b
commit
8daae6fea9
@@ -333,6 +333,9 @@ tuple_type_add_types(
|
||||
return OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get a list type, based on the member item type in "member_type".
|
||||
*/
|
||||
type_T *
|
||||
get_list_type(type_T *member_type, garray_T *type_gap)
|
||||
{
|
||||
@@ -367,9 +370,7 @@ get_list_type(type_T *member_type, garray_T *type_gap)
|
||||
* "tuple_types_ga".
|
||||
*/
|
||||
type_T *
|
||||
get_tuple_type(
|
||||
garray_T *tuple_types_gap,
|
||||
garray_T *type_gap)
|
||||
get_tuple_type(garray_T *tuple_types_gap, garray_T *type_gap)
|
||||
{
|
||||
type_T *type;
|
||||
type_T **tuple_types = tuple_types_gap->ga_data;
|
||||
@@ -397,6 +398,9 @@ get_tuple_type(
|
||||
return type;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get a dict type, based on the member item type in "member_type".
|
||||
*/
|
||||
type_T *
|
||||
get_dict_type(type_T *member_type, garray_T *type_gap)
|
||||
{
|
||||
|
Reference in New Issue
Block a user