On Mon, 18 Aug 2014, SF Markus Elfring wrote:

> > 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?

Yes, I am assuming that e1 has been declared to be an arbitrary
expression.

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

Reply via email to