On Wed, 2020-06-17 at 23:19 +0200, Johannes Berg wrote:
> On Wed, 2020-06-17 at 23:15 +0200, Julia Lawall wrote:
> > > +T x;
> > 
> > Change the + to ++

Heh, something funny happened

+ u16 *foo;
+ u16[2] bar;

... some code ...

-u16 *foo;
-u16 *bar[2];


What happened to the array index?

I guess ... at some level I even understand it, that's a property of the
type, and I was moving the type around. But I really didn't expect that
:)

johannes

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

Reply via email to