Improving support for searching format strings
Hello,
I would like to try something out with another script for the semantic patch language.
@display@
format list fl;
@@
*"@fl@ \n"
Unfortunately, I stumbled on the following test result then.
Markus_Elfring@Sonne:…/Projekte/Coccinelle/janitor> /usr/bin/spatch --parse-cocci show_redundant_space_before_line_break_in_format_string.cocci …
@display@
fragment list fl;
@@
*"@fl@ \n"
warning: display: metavariable fl not used in the - or context code …
Can the data processing be extended anyhow?
https://lore.kernel.org/lkml/?q=%22Remove+space+before+newline%22
Regards,
Markus