Re: [cocci] Using statement list combinations?

Julia Lawall
2025-07-03T10:23:32Z

On Thu, 3 Jul 2025, Markus Elfring wrote:

> > I see nothing unclear. You can write { sl }. You can't write S1 sl S2.
> Would you find an SmPL code variant (like the following) more reasonable?
>
> @display@
> statement header, footer;
> statement list sl;
> @@
> *header { sl } footer

I don't know what you expect it to match.

julia

>
>
> Regards,
> Markus
>