Just FYI, we're using spatch to convert Plan 9 from Ken c toolchain to
gcc/clang. It's invaluable.

On Fri Feb 13 2015 at 8:16:49 AM ron minnich <[email protected]> wrote:

> Thanks, I finally realized the issue was a missing typedef int32!
>
> On Thu Feb 12 2015 at 11:33:48 PM Julia Lawall <[email protected]>
> wrote:
>
>> 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