>> Will the support for unary operations need any further development 
>> considerations?
>
> No, the precedence should be ok as is.

I got another idea.

The semantic patch language supports the metavariable type “binary operator”.
https://github.com/coccinelle/coccinelle/blob/b4509f6e7fb06d5616bb19dd5a110b203fd0e566/docs/manual/cocci_syntax.tex#L266

How do you think about to add the construct “unary operator”?

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

Reply via email to