Hello,
I hoped to achieve something together with the semantic patch language
by the following search pattern.
@display@
identifier action, driver;
@@
static struct platform_driver driver =
{
<+...
*.remove = action
...+>
};
Unfortunately, I stumble on another error message.
elfring@Sonne:~/Projekte/Coccinelle/janitor> spatch --parse-cocci
show_designated_initialisers6.cocci
…
minus: parse error:
File "show_designated_initialisers6.cocci", line 7, column 1, charpos = 91
around = '.',
whole content = *.remove = action
How would you like to clarify the software behaviour for
such an use case?
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci