> > @removal@
> > identifier F, I;
> > type T;
> > @@
> >  F(...,
> > -  const
> >    T I,
> >   ...
> >  );

Oops, now I see why this doesn't parse.  When you make a rule for a
prototype, you need to specify the return type (which could be just T1).
Otherwise, the parser can't tell the difference between this and a
function call.

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

Reply via email to