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.

johannes

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

Reply via email to