Re: [cocci] Improving expression list selections with SmPL ellipses?

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

On Sat, 1 Nov 2025, Markus Elfring wrote:

> >> *my_action("Hello!", ..., ...);
> >
> > I have no idea what you think this should mean.
>
> Can such a search pattern indicate that three parameters (or expressions) should be passed?

No.  Unless you put an expression metavariable you have no guarantee that
there is exactly one expression.

julia

>
>
> >                                                  How is it different than
> >
> > my_action("Hello!", ...);
>
> It is tried to express another constraint, isn't it?
>
> 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.