strict enumeration support
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@704 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/tests/42-real-life-OK.asn1.-PR b/tests/42-real-life-OK.asn1.-PR
index 5d0ef29..dda3bdb 100644
--- a/tests/42-real-life-OK.asn1.-PR
+++ b/tests/42-real-life-OK.asn1.-PR
@@ -683,7 +683,8 @@
asn_MAP_accept_as_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_accept_as_enum2value, /* N => "tag"; sorted by N */
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[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
diff --git a/tests/66-ref-simple-OK.asn1.-P b/tests/66-ref-simple-OK.asn1.-P
index 206e044..61c5e04 100644
--- a/tests/66-ref-simple-OK.asn1.-P
+++ b/tests/66-ref-simple-OK.asn1.-P
@@ -177,7 +177,8 @@
asn_MAP_SimpleType_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_SimpleType_enum2value, /* N => "tag"; sorted by N */
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[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
diff --git a/tests/70-xer-test-OK.asn1.-P b/tests/70-xer-test-OK.asn1.-P
index f812a7e..e9eaa70 100644
--- a/tests/70-xer-test-OK.asn1.-P
+++ b/tests/70-xer-test-OK.asn1.-P
@@ -763,7 +763,8 @@
asn_MAP_SetOfEnums_Member_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_SetOfEnums_Member_enum2value, /* N => "tag"; sorted by N */
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[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
@@ -946,7 +947,8 @@
asn_MAP_id_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_id_enum2value, /* N => "tag"; sorted by N */
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[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))