On Wed, 22 Dec 2010, Elrond wrote: > > Hi, > > I know, macros are a problem. > > I think, I stripped my problem down to a very simple test > case (attached). And I don't know, how to resolve that for > Coccinelle. > > (Using Coccinelle from Debian/experimental: 0.2.4.deb-2)
Try running: spatch -type_c yourfile.c It complains a lot, but if you see type annotations on the code you want to match and transform, then that code will be processed anyway. It seems to even understand about the parameter types. Perhaps you need to send a bigger example, if you are not getting the result you expect. julia _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
