> Normally, if you want to prevent something, the easiest thing is to match
> it first, and then set up the pattern for what you want so that the latter
> matches only if the former did not match.

Is my use case a bit more special so that other approaches would be needed?

Would another constraint make sense to prevent an unwanted match with the
expression in the second statement?

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

Reply via email to