On Fri, 27 Jul 2018, SF Markus Elfring wrote:
> > @script:python s@
> > c << r.c;
> > c2;
> > @@
> > if c.startswith('"NVRM: '):
> > coccinelle.c2 = '"' + c[7:];
> > else:
> > coccinelle.c2 = c;
>
> I suggest to reconsider the action if no modification should be performed
> finally.
> How do you think about to use the statement “cocci.include_match(False)”
> in the else branch instead?
This is also a reasonable strategy.
julia_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci