Hello,
The support for data processing with attributes was extended recently.
https://github.com/coccinelle/coccinelle/commits?q=committer-date%3A%3C2020-06-16
Under which circumstances will a source code analysis approach become supported
by a script (like the following) for the semantic patch language?
@display@
identifier action;
@@
*void __iomem * action(...)
{ ... }
elfring@Sonne:~/Projekte/Coccinelle/janitor> spatch --parse-cocci
show_iomem_functions.cocci
…
minus: parse error:
File "show_iomem_functions.cocci", line 4, column 14, charpos = 46
around = '*',
whole content = *void __iomem * action(...)
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci