Re: [cocci] Reconsidering source code search challenges for nested compound statements
Markus Elfring <[email protected]> Sun, 8 Mar 2026 18:52:39 +0100
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
>> How should this implementation detail be improved anyhow?
> By putting the * in the leftmost column where it belongs.
@display2@
declaration d;
statement list sl;
@@
{
d
*sl
}
Another questionable test result:
Markus_Elfring@Sonne:…/Projekte/Coccinelle/Probe> /usr/bin/spatch test-item_assignments.c ../janitor/show_compound_statements2.cocci
…
[no diff output]
Will further software improvements follow?
Regards,
Markus