> I've been able so far to replace the if (t <MAXR) but this
> also replaces lines with it (expresion < constant) elsewhere.
Would you like to consider any additional SmPL constraints?
> Which is why I'd like to constrain the pacth to this 3 nested
> ifs pattern.
Do you really want to deal only with a specific nesting level?
> if (
> - t < M
> + myfunc()
How do you think about to add also " == 0" here?
> )
> {
> ...
> } else {
> ...
> }
Would you like to replace these ellipsis by metavariables
of the type "statement"?
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci