Hello,
attached is a small example which does something strange
to a "int i, j;" within a "#ifdef..."
Perhaps this points to a bug in coccinelle,
Would you please check ?
Best Regards,
Robert
int foo(int bar)
{
int i, j;
return bar+54;
}
int boo(int bar)
{
#ifdef BOO
int i, j;
#endif
return bar+54;
}
// (compile "spatch --sp-file ex1.cocci ex1.c --defined BOO")
@r0@
symbol i;
@@
- int i;
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci