Re: [Cocci] Checking the display of SmPL isomorphism results (with pointers)

2020-06-26 Thread Julia Lawall
On Fri, 26 Jun 2020, Markus Elfring wrote: > Hello, > > I have tried another tiny script variant out for the semantic patch language > (according to the software combination “Coccinelle 1.0.8-00131-g675b9670”). > > @display@ > expression* x; > statement is, es; > @@ > *if (!x) > is > else

[Cocci] Checking the display of SmPL isomorphism results (with pointers)

2020-06-26 Thread Markus Elfring
Hello, I have tried another tiny script variant out for the semantic patch language (according to the software combination “Coccinelle 1.0.8-00131-g675b9670”). @display@ expression* x; statement is, es; @@ *if (!x) is else es elfring@Sonne:~/Projekte/Coccinelle/janitor> spatch