Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1448729

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

From Nicholas Mc Guire <der.herr@hofr.at>
Newsgroups linux.kernel
Subject Re: [PATCH RFC] coccinelle: tests: if and else branch should probably not be identical
Date 2016-07-22 21:20 +0200
Message-ID <rXO9j-1uW-5@gated-at.bofh.it> (permalink)
References <rXECZ-3Mr-1@gated-at.bofh.it> <rXLXQ-8gM-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RFC] coccinelle: tests: if and else branch should probably not be identical Nicholas Mc Guire <hofrat@osadl.org> - 2016-07-22 11:10 +0200
  Re: [PATCH RFC] coccinelle: tests: if and else branch should probably  not be identical Julia Lawall <julia.lawall@lip6.fr> - 2016-07-22 19:00 +0200
    Re: [PATCH RFC] coccinelle: tests: if and else branch should  probably not be identical Nicholas Mc Guire <der.herr@hofr.at> - 2016-07-22 21:20 +0200
      Re: [PATCH RFC] coccinelle: tests: if and else branch should probably  not be identical Julia Lawall <julia.lawall@lip6.fr> - 2016-07-23 12:50 +0200

csiph-web