> > diff --git a/scripts/coccinelle/iterators/use_after_iter.cocci > > b/scripts/coccinelle/iterators/use_after_iter.cocci > > index f085f59..ce8cc9c 100644 > > --- a/scripts/coccinelle/iterators/use_after_iter.cocci > > +++ b/scripts/coccinelle/iterators/use_after_iter.cocci > > @@ -123,7 +123,7 @@ list_remove_head(x,c,...) > > | > > sizeof(<+...c...+>) > > | > > -&c->member > > + &c->member > > The added space character is not in the first column of this SmPL script. > > * Can it be that the additional character will be transformed according to > special pretty-printing rules? > https://github.com/coccinelle/coccinelle/issues/37
I don't understand the question. Spaces in the script (at least before and after the pattern) don't impact spaces in the source code. > * Is such a change a possible workaround for open issues around > the message "minus: parse error" (or software improvements > which were developed in the meantime)? No idea what is referred to here. Maybe you don't like the parse errors, but that is the errors that the parser generator generates. You are welcome to write a parser generator that produces bettwe messages if you like. > > | > > c = E > > | > > > Does the shown tweak need any further considerations? No idea what is referred to here. julia _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
