paramdecl_list Production

Definition

paramdecl_list : paramdecl_list , variable_decl
               | variable_decl

Purpose

A paramdecl_list is a comma-separated sequence of one or more paramdecls.

Semantics

Each inner_decl is an argument to the function. All arguments are passed by value.

Functions may take optional parameters, in the form of inner_decls with initializers. Optional parameters must come at the end of the list.