>> Would another delimiter be better in the output like “)) es else {” here?
>
> I don't know what the semantic patch is, so I can't answer the question.

Can you find the OCaml print statement (better than me)
where an identifier metavariable is displayed together with the mentioned
key word without a helpful delimiter between these items?

Another SmPL script example:
@display@
expression x, y;
identifier action;
statement es;
@@
*if ( \( !(x) \| (x) == NULL \) )
 {
 ... when any
     when != x = y;
    (<+...
(
*   *(x)
|
*   action(..., x, ...)
)
    ...+>);
 ... when any
 }
 else
    es


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

Reply via email to