〈 ProcedureDeclaration 〉 | ---> |
〈 ProcedureHeading 〉 ``;''
|
| |
〈 ProcedureBody 〉
〈 Ident 〉 |
〈 ProcedureHeading 〉 | ---> |
``PROCEDURE'' [``*'']
〈 Ident 〉
|
| |
[〈 FormalParameters 〉] |
〈 ForwardDeclaration 〉 | ---> |
``PROCEDURE'' `` ^ ''
〈 Ident 〉
|
| |
[〈 FormalParameters 〉] |
〈 FormalParameters 〉 | ---> |
``(''
[ 〈 FPSection 〉
|
| |
{ ``;''
〈 FPSection 〉 } ]
``)''
|
| |
[``:'' 〈 QualIdent 〉] |
〈 FPSection 〉 | ---> |
[ ``VAR''] 〈 IdentList 〉
``:'' 〈 FormalType 〉 |
〈 FormalType 〉 | ---> |
{ ``ARRAY'' ``OF'' }
〈 QualIdent 〉 |
〈 QualIdent 〉 | ---> |
[〈 Ident 〉 ``.'']
〈 Ident 〉 |
〈 ProcedureBody 〉 | ---> |
〈 DeclarationSequence 〉
|
| |
[``BEGIN'' 〈 StatementSequence 〉]
|
| |
``END'' |