next up previous
Next: Identifier classification Up: Syntactic structure Previous: Statements

External Definitions

Syntactic elements[26]:

program: external_declaration* .

external_declaration:
  function_definition /
  declaration .
This macro is defined in definitions 3, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, and 27.
This macro is invoked in definition 6.

The standard uses an optional declaration_specifiers. This option must be made explicit here in order to avoid a grammar conflict.

Syntactic elements[27]:

function_definition:
  empty_declaration_specifiers
    declarator &'Deferred binding[46]' declaration_list function_body /
  declaration_specifiers
    declarator &'Deferred binding[46]' declaration_list function_body .

empty_declaration_specifiers: .

declaration_list: par_declaration* .

par_declaration: declaration_specifiers par_id_decls ';' .

par_id_decls: declarator // ',' .

function_body:
  '{' body &'End parameters[53]' '}' .
This macro is defined in definitions 3, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, and 27.
This macro is invoked in definition 6.


next up previous
Next: Identifier classification Up: Syntactic structure Previous: Statements
2008-08-30