> Unfortunately, the error message “unexpected close parenthesis in line 6”
> is reported then.

The following change specification gets accepted by the Coccinelle software.

@adjustment@
expression X;
@@
+powerof2
 (
-(X-1)&
 X)
- == 0


Would you like to discuss similar SmPL code variations any more?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to