Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>
---
language/unit.tex | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/language/unit.tex b/language/unit.tex
index 8e59a36..5bcdb7b 100644
--- a/language/unit.tex
+++ b/language/unit.tex
@@ -232,12 +232,8 @@ diagnostic message shall be printed and the translation phase shall be aborted.
\begin{grammar}
\nonterminaldef{function-declaration} \\
- \optional{\nonterminal{fndec-attrs}} \terminal{fn} \nonterminal{identifier} \nonterminal{prototype} \\
- \optional{\nonterminal{fndec-attrs}} \terminal{fn} \nonterminal{identifier} \nonterminal{prototype} \terminal{=} \nonterminal{expression} \\
-
-\nonterminaldef{fndec-attrs} \\
- \nonterminal{fndec-attr} \\
- \nonterminal{fndec-attr} \nonterminal{fndec-attrs} \\
+ \optional{\nonterminal{fndec-attr}} \terminal{fn} \nonterminal{identifier} \nonterminal{prototype} \\
+ \optional{\nonterminal{fndec-attr}} \terminal{fn} \nonterminal{identifier} \nonterminal{prototype} \terminal{=} \nonterminal{expression} \\
\nonterminaldef{fndec-attr} \\
\terminal{@fini} \\
@@ -282,8 +278,7 @@ named parameters have been made visible.
The \terminal{@fini} form of \nonterminal{fndec-attr} shall cause the
function to be a \textit{finalization function}. \terminal{@init} shall cause it
to be an \textit{initialization function}. \terminal{@test} shall cause it to be
-a \textit{test function}. If multiple \nonterminal{fndec-attr}s of the same type
-are specified, the last one shall override all previous ones.
+a \textit{test function}.
\specsubsubitem
Functions declared with \terminal{@test}, \terminal{@init}, or \terminal{@fini}
--
2.47.1