On Fri, 13 Feb 2015, ron minnich wrote:

> I've done some searching but have not found this
> I'd like to change all occurrences of things like this:
> t f(..., long x, ...) {...}
> 
> such that long becomes int32.
> 
> I've been trying and failing, and have given up :-)
> 
> I am able to change it everywhere else, just not in functions.

The following affects only parameter lists, if that is what you are going 
for:

@@
identifier f,x;
typedef int32;
@@

f(...,
- long
+ int32
   x, ...) {...}

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

Reply via email to