The following test confuses spatch:
void func(void)
{
x = FLD_SET_DRF(0080, 1, 2, 3, 4);
DBG_PRINTF((DBG_MODULE_PERFCTL, DBG_LEVEL_INFO, "hello\n"));
}
This gives me:
ERROR-RECOV: found sync '}' at line 7
If I change the "0080" to "80", it works fine. I tried adding this line:
#define FLD_TEST_DRF(a, b, c, d, e) 1
But it didn't help.
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci
