> > @@
> > expression O1, O2, O3
> > @@
> >
> > - func_old(O1, O2, O3, ...);
>
> Can it be that the item “charstring” would contain multiple expressions?
>
> If you would like to reuse the last function parameters,
> the passed code should be stored into corresponding metavariables
> of a type like “constant” or “expression list”.


Making O3 an expression list could be useful.  Or you can just put the
part that doesn't change on a shared line with no - or + annotation.

julia
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to