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)
Elrond
#define RPC_IO_DECLARE(fn, t, lds) \
int fn(const char *desc, t *lds, void *ps, int depth)
typedef int LDS_TRY;
RPC_IO_DECLARE(foo, LDS_TRY, lds1)
{
return 1;
}
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)