[Cocci] Adjustment for const qualification

SF Markus Elfring elfring at users.sourceforge.net
Wed Aug 15 11:36:08 CEST 2018

>> 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?


More information about the Cocci mailing list