> You can't specify pointer dereferences by metavariables.

Thanks for another clarification for a detail by the Coccinelle software.

I assumed that this would be useful functionality for the specification
“expression *X;”.


> The pattern is only in the pattern.  It is not partly in the metavariables.

Would you like to add this information to the software documentation?

* Does the asterisk express only a specific restriction on the
  metavariable type then?

* Which source code would you match (or exclude) for pointer expressions?

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

Reply via email to