>>> 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?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to