On Sat, Jul 10, 2010 at 21:54 +0200, Julia Lawall wrote: > Version 0.2.3rc6 has been released, which incorporates this fix. Please > let me know of further problems. > > thanks, > julia > > > On Sat, 10 Jul 2010, Julia Lawall wrote: > > > On Wed, 7 Jul 2010, Kulikov Vasiliy wrote: > > > > > Hi folks, > > > > > > is there a way to suppress code tabs/spaces reformatting by coccinelle? > > > > > > E.g. I've got a simple semantic path like > > > > > > @@ > > > void* p; > > > type t; > > > identifier x; > > > @@ > > > -t *x = (t*)p; > > > +t *x = p; > > > > > > spatch producess such patches (a part of it): > > > - WRITERAP(lp, LE_CSR0); /* LANCE Controller Status */ > > > + WRITERAP(lp, LE_CSR0);/* LANCE Controller Status */ > > > > > > I don't need any reformatting, only modifications that I explicitly said > > > to do, > > > how can I suppress formatting changes? > > > > Sorry about this problem. It was due to a recent improvement in the > > pretty printing that turned out to be more aggressive than intended. > > > > A patch against version 0.2.3rc5 is attached. > > > > julia
Yeah, this is exactly that I wanted, thanks for the help. _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
