> In other words, in my original code "int x" is passed to "void f(int)" as a 
> paramter,
> and I would like to apply the following transformations:

How do you think about to try a SmPL change specification out like the 
following?

@replacement3@
identifier x;
@@
-int
+int*
 x;
 <+...
-f
+g
  (x);
 ...+>


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

Reply via email to