> How about then
>
> (
> e1 .@e2 f + x
> |
> e1 ->@e2 f + x
> )
>
> where e2 has pointer typw (or array type?)
>
> e2 on the . or -> will pick up the entire innermost enclosing expression.
>

Would such a semantic patch approach handle also longer reference chains?

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

Reply via email to