Hello,

I have tried another small script out for the semantic patch language.
The following variant with two SmPL rules gets accepted by
the Coccinelle software.

@display1@
identifier pointing;
type T;
@@
*T* pointing(...);

@display2@
identifier pointing;
type T;
@@
*T* pointing(...)
 { ... }


Unfortunately, a parse error is reported if I merge these search patterns
into a SmPL disjunction.
Can such a SmPL rule eventually work, too?

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

Reply via email to