On Thu, 9 Jun 2016, SF Markus Elfring wrote:
> > This perhaps is not the best demo for use of ++ but it
> > should suffice.
>
> Since which release of the Coccinelle software is this notation (double
> plus) supported?
It's many years old. As a random guess I would say 2010.
julia
> > This adds some basic documentation for it and a demo.
>
> Thanks for your approach.
>
>
> > @@ -0,0 +1,28 @@
> > +/*
> > + * This can move unused variables declaration and assignment
>
> Will it be better to refer to "variable declaration"?
>
>
> > + * which is only used in the branch into the branch. Its
>
> Can this wording be confusing?
>
>
> > + * resticted however to only apply to code where this happens
>
> Is the word "restricted" appropriate here?
>
>
> > + * doe snot matter.
>
> Would you like to move a space character here?
>
>
> > + * If you don't use "++" you'll get "already tagged token" error since
>
> Would the addition of a comma (before "you'll") make sense here?
>
>
> > +You may run into the situation where grammar you specificy for
>
> Is such a wording confusing?
> Will the word "specify" be more appropriate in this context?
>
>
> > +additions. If you are sure that order does not matter you can use the
>
> Would the addition of a comma (before "you") help in reading?
>
>
> > +If however you have two consecutive tokens that Coccinelle
> > +can transform order cannot be guaranteed for how Coccinelle
>
> How do you think about "… transform, order …"?
>
> Regards,
> Markus
> _______________________________________________
> Cocci mailing list
> [email protected]
> https://systeme.lip6.fr/mailman/listinfo/cocci
>
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci