Syntax of annotation_appl requires clarification
Source: Airbus Group ( Oliver Kellogg)
18.104.22.168.2 on p.101 contains the rule
(225) <annotation_appl> ::= "@" <scoped_name> [ "(" <annotation_appl_params> ")" ]
The nature of the EBNF notation leaves room for interpreting that between the @ and the <scoped_name> there could appear spaces, tabs, or even comments.
On the other hand, 22.214.171.124.1 on p.100 contains:
(220) <annotation_header> ::= "@annotation" <identifier>
Here, it is clear that @annotation shall be treated as a single token without intermittent characters between @ and annotation.
I propose adding a clarification in the explanations at the beginning of p.102 (following rule 227):
Applying an annotation consists in prefixing the element under annotation with:
- The annotation name ( <scoped_name> ) prefixed with the at symbol( @ ), also known as commercial at. There shall be no intermittent spaces, tabs, or comments between @ and <scoped_name>.
The last sentence is my proposed addition.
Reported: IDL 4.2b1 — Fri, 26 Jan 2018 22:03 GMT
Updated: Tue, 12 Nov 2019 21:59 GMT