Re: [cocci] Searching for switch statements with SmPL?

Julia Lawall <[email protected]>
Newsgroups fr.inria.cocci
Message-ID <[email protected]>

> On 8 Nov 2025, at 09:37, Markus Elfring <[email protected]> wrote:
> 
> 
>> 
>>> Under which circumstances will such data processing become better supported?
>> None. All cases are directly attached to the { of the switch, like if branches are attached to an if header. So the nest doesn’t make sense.
> 
> I hope that better common understanding can be achieved for more desirable
> software behaviour also according to such a feedback.
> 
> Which SmPL script variant would you find more reasonable for the mentioned
> use case?
> 

Just remove the <+… …+>

> Regards,
> Markus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.