>> @replacement3@ >> identifier x; >> @@ >> -int >> +int* >> x; >> <+... >> -f >> +g >> (x); >> ...+> > > His example shows that he wants to change a parameter type,
He would like to call a function which gets a single pointer passed instead of an integer by possibly varying variables. > not a local variable. The support for source code transformations together with global variables might need further software development considerations. Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
