Re: [cocci] Reconsidering source code search challenges for nested compound statements
Julia Lawall <[email protected]> Sun, 8 Mar 2026 19:01:57 +0100 (CET)
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 8 Mar 2026, Markus Elfring wrote:
> >> 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
And I should know what test-item_assignments.c is?
julia
> …
> [no diff output]
>
>
> Will further software improvements follow?
>
> Regards,
> Markus
>
>