diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-14 19:42:32 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-14 19:42:32 +0200 |
| commit | 308a2addf655fe45f2098f8542f0ff1290612cd9 (patch) | |
| tree | 19230bdb673d306d59b32427ad2a3ad5e9850631 /doc | |
| parent | a32a61813ebaecf0c1e69fd1481bf09d8c8b1420 (diff) | |
| download | elna-308a2addf655fe45f2098f8542f0ff1290612cd9.tar.gz | |
Replace procedure end with return
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/appendix.tex | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/appendix.tex b/doc/appendix.tex index 36bb72a..1e3ba4e 100644 --- a/doc/appendix.tex +++ b/doc/appendix.tex @@ -173,13 +173,12 @@ <procedure-heading> = `(' [<parameter> \{`;' <parameter>\}] `)' <return-declaration>. -<procedure-body> = <constant-part> <variable-part> <statement-part> [`return' <expression>] `end'. +<procedure-body> = <constant-part> <variable-part> <statement-part> `return' [<expression>]. <procedure-declaration> = `proc' <identifier-definition> <procedure-heading> \\ (<procedure-body> | `extern'). <program> = <import-part> <constant-part> <type-part> <variable-part> - \{<procedure-declaration>\} - <statement-part> [`return' <expression>] `end' `.\@'. + \{<procedure-declaration>\} <statement-part> `end' `.\@'. \end{grammar} |
