> nit.cocci:
> @@
> expression list L;
> @@
> - f(L);
> + g(L);

Would it make sense and work to write a semantic patch rule like the following?

@replacement@
@@
-f
+g
(L);


Can the passed parameters be omitted from the desired adjustment by "the plus 
line"?

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

Reply via email to