next up previous
Next: Extensions Up: Phrase structure Previous: Dangling else

Declaration sequence

Declaration sequence[21]:
Decls:
  [ 'label' (LblIdDef // ',') ';' ]
  [ 'const' (constant_definition ';')* ]
  [ 'type'  (type_definition ';')* ]
  [ 'var'   (variable_declaration ';')* ]
  (procedure_declaration ';' / function_declaration ';')* .

constant_definition:   ConIdDef '=' constant .
type_definition:       TypIdDef '=' type .
variable_declaration:  VrblIds ':' type .
procedure_declaration: 'procedure' PrcIdDef ProcBody.
function_declaration:
  'function'  FncIdDef FuncBody /
  'function'  FncIdUse ';' Body .
This macro is defined in definitions 21.
This macro is invoked in definition 12.



2008-08-29