> Rule for function declaration doesn’t (gives parse error too).
Will the semantic filter approach work better if you specify
a return type for the searched functions explicitly?
@find_integer_within_function_declaration@
identifier func, var;
type return_type;
@@
return_type
func(...,
* long var,
...);
)
@find_integer_from_function_definition@
identifier func, var;
type return_type;
@@
return_type
func(...,
* long var,
...)
{ ... }
> Can I be added to such list, or is it somehow restricted?
Would you like to subscribe to this mailing list?
http://coccinelle.lip6.fr/contact.php
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci