[Cocci] Adjustment for const qualification

Julia Lawall julia.lawall at lip6.fr
Wed Aug 15 11:40:11 CEST 2018



On Wed, 15 Aug 2018, SF Markus Elfring wrote:

> >> How do you think about to try the following SmPL script variant out?
> >>
> >> @replacement@
> >> @@
> >> -const
> >> +__genl_const
> >>  struct
> >> (
> >>  genl_multicast_group
> >> |genl_ops
> >> )
> >
> > This is rejected by the semantic patch parser.
>
> Can my update suggestion make sense if the parsing software
> will be adjusted anyhow?
>
> Does this variant need a small adjustment to get it working
> with the current tool version?

I don't know.  It may be large and it may be small.  You are welcome to
try to change it if you want.  Otherwise it doesn't seem urgent.

julia


More information about the Cocci mailing list