Closed schirrmacher closed 5 months ago
When querying for function parameter lists, I had the following issue:
static inline int some_function(struct slab *slab) { } void __init some_other_function(void) { }
In this example only (struct slab *slab) is matched. I think the parser has problems with __init.
(struct slab *slab)
__init
Is this intended behavior? Can I somehow extend the parser?
What is the query that you're using?
I applied (function_definition _) @function and (function_declarator (parameter_list) @parameters)
(function_definition _) @function
(function_declarator (parameter_list) @parameters)
seems like this is fixed now
When querying for function parameter lists, I had the following issue:
In this example only
(struct slab *slab)
is matched. I think the parser has problems with__init
.Is this intended behavior? Can I somehow extend the parser?