Re: [PATCH RFC] coccinelle: tests: if and else branch should probably not be identical

From: Nicholas Mc Guire
Date: Fri Jul 22 2016 - 15:16:36 EST


On Fri, Jul 22, 2016 at 06:56:47PM +0200, Julia Lawall wrote:
> > +virtual context
> > +virtual org
> > +virtual report
> > +
> > +@cond@
> > +statement S1;
> > +position p;
> > +@@
> > +
> > +<+...
> > +* if@p (...) S1 else S1
> > +...+>
>
> You don't need the <+... ...+>. Just put the if by itself.
>

will drop that then - though those would be needed for the cases that
do this recursively. Will fix it and resend.

thx!
hofrat