On Thu, 21 Jul 2016, SF Markus Elfring wrote:
> >>> A parameter list is something that comes after the name of a function in
> >>> the function header. Something like int x, int y, in foo (int x, int y) {
> >>> ... }. Probably you want an expression list.
> >>
> >> * How do you call the list usually that is used for the definition before
> >> the function body?
> >
> > parameter list
>
> It seems that we have got the same understanding here.
>
>
> >> * Did I get inappropriate expectations from a description around a
> >> "parameter-list-declarator"?
> >> http://en.cppreference.com/w/c/language/function_definition
> >
> > Apparently.
>
> I am surprised by this feedback.
>
>
> > parameter-list - either the single keyword void or a comma-separated list
> > of parameters, which may end with an ellipsis parameter
>
> How does this description fit to the term "expression list" in the
> semantic patch language?
Not at all.
int f(int x, int y) <---- parameter list
{
g(1, 2, 3, 4, 5): <---- expression list
}
julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci