Commit 295e2458 authored by Lev Walkin's avatar Lev Walkin

strict enumeration support

parent 9f30ef19
...@@ -683,7 +683,8 @@ static asn_INTEGER_specifics_t asn_DEF_accept_as_specs = { ...@@ -683,7 +683,8 @@ static asn_INTEGER_specifics_t asn_DEF_accept_as_specs = {
asn_MAP_accept_as_value2enum, /* "tag" => N; sorted by tag */ asn_MAP_accept_as_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_accept_as_enum2value, /* N => "tag"; sorted by N */ asn_MAP_accept_as_enum2value, /* N => "tag"; sorted by N */
3, /* Number of elements in the maps */ 3, /* Number of elements in the maps */
1 /* Enumeration is extensible */ 1, /* Enumeration is extensible */
1 /* Strict enumeration */
}; };
static ber_tlv_tag_t asn_DEF_accept_as_tags[] = { static ber_tlv_tag_t asn_DEF_accept_as_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
......
...@@ -177,7 +177,8 @@ static asn_INTEGER_specifics_t asn_DEF_SimpleType_specs = { ...@@ -177,7 +177,8 @@ static asn_INTEGER_specifics_t asn_DEF_SimpleType_specs = {
asn_MAP_SimpleType_value2enum, /* "tag" => N; sorted by tag */ asn_MAP_SimpleType_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_SimpleType_enum2value, /* N => "tag"; sorted by N */ asn_MAP_SimpleType_enum2value, /* N => "tag"; sorted by N */
3, /* Number of elements in the maps */ 3, /* Number of elements in the maps */
0 /* Enumeration is not extensible */ 0, /* Enumeration is not extensible */
1 /* Strict enumeration */
}; };
static ber_tlv_tag_t asn_DEF_SimpleType_tags[] = { static ber_tlv_tag_t asn_DEF_SimpleType_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
......
...@@ -763,7 +763,8 @@ static asn_INTEGER_specifics_t asn_DEF_SetOfEnums_Member_specs = { ...@@ -763,7 +763,8 @@ static asn_INTEGER_specifics_t asn_DEF_SetOfEnums_Member_specs = {
asn_MAP_SetOfEnums_Member_value2enum, /* "tag" => N; sorted by tag */ asn_MAP_SetOfEnums_Member_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_SetOfEnums_Member_enum2value, /* N => "tag"; sorted by N */ asn_MAP_SetOfEnums_Member_enum2value, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */ 2, /* Number of elements in the maps */
0 /* Enumeration is not extensible */ 0, /* Enumeration is not extensible */
1 /* Strict enumeration */
}; };
static ber_tlv_tag_t asn_DEF_SetOfEnums_Member_tags[] = { static ber_tlv_tag_t asn_DEF_SetOfEnums_Member_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
...@@ -946,7 +947,8 @@ static asn_INTEGER_specifics_t asn_DEF_id_specs = { ...@@ -946,7 +947,8 @@ static asn_INTEGER_specifics_t asn_DEF_id_specs = {
asn_MAP_id_value2enum, /* "tag" => N; sorted by tag */ asn_MAP_id_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_id_enum2value, /* N => "tag"; sorted by N */ asn_MAP_id_enum2value, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */ 2, /* Number of elements in the maps */
1 /* Enumeration is extensible */ 1, /* Enumeration is extensible */
0
}; };
static ber_tlv_tag_t asn_DEF_id_tags[] = { static ber_tlv_tag_t asn_DEF_id_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment