I am looking for possibilities to reduce undesirable code duplication
also for applications of the semantic patch language.
How much common code can be put into SmPL constraints for this purpose
(when the usage of SmPL disjunctions shows limitations so far)?
Example:
@replacement@
binary operator bo = { +, * };
expression x, y;
@@
+compute(
x
- bo
+ ,
y
+ )
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci