On Thu, 2019-03-21 at 20:33 +0100, Julia Lawall wrote:
>
> On Thu, 21 Mar 2019, Johannes Berg wrote:
>
> > On Thu, 2019-03-21 at 14:40 +0100, Julia Lawall wrote:
> > >
> > > > @@
> > > > identifier list;
> > > > @@
> > > > struct my_struct list[] = {
> > > > <...
> > > > {
> > > > + .field = 27,
> > > > },
> > > > ...>
> > > > };
> > > Try without the <... ...>.
> >
> > I did :-)
> >
> > If I just remove the <... ...> then it only changes an array that has a
> > single entry. If I add ... at the end, it only changes the first entry.
>
> OK, how about ... before and after?
Huh. I was going to say I tried this, but apparently I didn't since it
actually works!
Thanks!
johannes
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci