Hello,
are there any plans for operator alternations or even operator
metavariables? I have a small janitorial work where it would have been
nicer to have them:
@@
expression E1, E2;
@@
E1 \(==\|!=\|<\|<=\|>\|>=\) E2
- ? TRUE : FALSE
as opposed to
\(E1==E2\|E1!=E2\|...
Specifying the operators as
@@
operator op = {"==", "!=", "<", "<=", ">", ">="};
expression E1, E2;
@@
E1 op E2
- ? TRUE : FALSE
would be nice too.
thanks
bye
michael
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)