> test.spatch
> @@
> type T1, T2;
> @@
> -typedef int (*filler_t)(T1,
> +typedef int (*filler_t)(T1, struct address_space *,

If this is the whole rule, it is clear that it will not work.  A semantic
patch rule has to e a complete syntactic unit.  So something with an open
parenthesis and no corresponding close parenthesis will not be accepted.

julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to