>> @Add_before_implementation@
>> identifier func;
>> type t;
>> @@
>> (
>> #define func BAR(func)
>> t func(...)
>> { ... }
>> |
>> +#define func BAR(func)
>> t func(...)
>> { ... }
>> )
>
> This doesn't work.
Interesting ...
> There is no kind of disjunction that includes a function definition in a
> branch.
Was I too optimistic that my suggestion with the specification of SmPL
alternatives should also work?
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci