Clarify and perhaps expand where annotations can be applied
Source: Real-Time Innovations ( Gerardo Pardo-Castellote)
The specification should allow application of annotations to:
declarations, members, function parameters, union discriminator, enumerator literals, typedefs, sequence parameter, array parameter.
Reported: IDL 4.0 — Wed, 14 Sep 2016 21:27 GMT
Disposition: Resolved — IDL 4.1
Clarify application rules for annotations
An annotation can be placed on any IDL constructs or sub-constructs.
Stating that in the grammar rules complicates dramatically all the rules and creates a dependency issue between building-blocks.
The proposed solution is therefore:
- to remove from the grammar any reference towards where annotations can be placed – cf. rule (202), as it wrongly gave the impression that annotations could only be placed on first-level definitions.
- to state more clearly in the text that annotations can be placed on any IDL constructs and sub-constructs.
(Note that the format for applying annotation remains defined by EBNF rules as it was).
Updated: Wed, 5 Dec 2018 16:54 GMT