Re: [cocci] Too limited support for SmPL statement lists?
Markus Elfring <[email protected]> Mon, 9 Mar 2026 07:07:42 +0100
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
> A statement list metavariable only matches the code starting right after a {.
> It can't start in random places. …
I got the impression then that the supported functionality is so limited for
the metavariable type “statement list” so far.
It seems that it is unlikely to be usable besides discussed test cases.
Statements are often mixed with variable declarations and definitions.
Regards,
Markus