On Wed, 24 Mar 2010, Aaen, Andreas.Bach wrote: > Hi, > > I would like to insert an #include statement after a specific #define > statement. > > -------------------- > @@ > @@ > #define TABINFOGEN > +#include <tbl.h> > -------------------- > > However this Coccinelle patch doesn't parse at all. What should I have > written instead?
It doesn't seem to support a #define that doesn't define anything. I will fix it. julia _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
