Support of ranges of integer literal values in enumerated
Submitted by fiannetti @fiannetti
Link to original bug (#514317)
Description
According to the latest TTCN-3 standard "Each enumerated value may optionally have a user-assigned integer value or non-empty list of integer literal values or ranges of integer literal values..."
Where "ranges of integer literal values" means the declaration of "Other" field:
type enumerated MyThirdEnumType {
Blue(0),
Yellow(1),
Green(3),
Other(4..255)
}
See http://www.etsi.org/deliver/etsi_es/201800_201899/20187301/04.08.01_60/es_20187301v040801p.pdf, Clause 6.2.4, Example 3.
This kind of notation would be useful to simplify ITS security data type definitions.
Version: 6.1.0