coccinelle to insert some "42 placeholder", e.g. COUNT_REPLACE_THIS, and then process the files afterwords with a simple perl script or similar which will just replace COUNT_REPLACE_THIS with an increasing number.
I was planning to do something similar, but just wanted to check with the group if it can be done all within coccinelle. Thanks a lot. Ajay On Tue, Jul 5, 2011 at 11:09 AM, Håkon Løvdal <[email protected]> wrote: > Just an idea. I do not know if this is possible to do all within > coccinelle, > but it should at least be possible to do in a two phase manner using > coccinelle to insert some "42 placeholder", e.g. COUNT_REPLACE_THIS, > and then process the files afterwords with a simple perl script or similar > which will just replace COUNT_REPLACE_THIS with an increasing number. > > BR Håkon Løvdal >
_______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
