fix OER stubs order
diff --git a/tests/126-per-extensions-OK.asn1.-Pgen-PER b/tests/126-per-extensions-OK.asn1.-Pgen-PER
index cb587f8..abfaeb3 100644
--- a/tests/126-per-extensions-OK.asn1.-Pgen-PER
+++ b/tests/126-per-extensions-OK.asn1.-Pgen-PER
@@ -42,6 +42,7 @@
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_IA5String,
.memb_constraints = 0, /* Defer constraints checking to the member type */
+ .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
.default_value = 0,
.name = "str-o"
@@ -51,6 +52,7 @@
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_IA5String,
.memb_constraints = 0, /* Defer constraints checking to the member type */
+ .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
.default_value = 0,
.name = "str-m"
@@ -60,6 +62,7 @@
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_Singleton,
.memb_constraints = 0, /* Defer constraints checking to the member type */
+ .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
.default_value = 0,
.name = "singl"
@@ -69,6 +72,7 @@
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_PDU_2,
.memb_constraints = 0, /* Defer constraints checking to the member type */
+ .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
.default_value = 0,
.name = "pdu-2"
@@ -104,9 +108,9 @@
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
+ 0, 0, /* No OER support, use "-gen-OER" to enable */
SEQUENCE_decode_uper,
SEQUENCE_encode_uper,
- 0, 0, /* No OER support, use "-gen-OER" to enable */
0, /* Use generic outmost tag fetcher */
asn_DEF_PDU_tags_1,
sizeof(asn_DEF_PDU_tags_1)
@@ -114,6 +118,7 @@
asn_DEF_PDU_tags_1, /* Same as above */
sizeof(asn_DEF_PDU_tags_1)
/sizeof(asn_DEF_PDU_tags_1[0]), /* 1 */
+ 0, /* No OER visible constraints */
0, /* No PER visible constraints */
asn_MBR_PDU_1,
4, /* Elements count */
@@ -173,6 +178,7 @@
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_IA5String,
.memb_constraints = 0, /* Defer constraints checking to the member type */
+ .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
.default_value = asn_DFL_2_set, /* DEFAULT "z" */
.name = "opt-z"
@@ -205,9 +211,9 @@
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
+ 0, 0, /* No OER support, use "-gen-OER" to enable */
SEQUENCE_decode_uper,
SEQUENCE_encode_uper,
- 0, 0, /* No OER support, use "-gen-OER" to enable */
0, /* Use generic outmost tag fetcher */
asn_DEF_Singleton_tags_1,
sizeof(asn_DEF_Singleton_tags_1)
@@ -215,6 +221,7 @@
asn_DEF_Singleton_tags_1, /* Same as above */
sizeof(asn_DEF_Singleton_tags_1)
/sizeof(asn_DEF_Singleton_tags_1[0]), /* 1 */
+ 0, /* No OER visible constraints */
0, /* No PER visible constraints */
asn_MBR_Singleton_1,
1, /* Elements count */
@@ -275,6 +282,7 @@
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.memb_constraints = 0, /* Defer constraints checking to the member type */
+ .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
.default_value = 0,
.name = "main"
@@ -284,6 +292,7 @@
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.memb_constraints = 0, /* Defer constraints checking to the member type */
+ .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
.default_value = 0,
.name = "ext1"
@@ -293,6 +302,7 @@
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.memb_constraints = 0, /* Defer constraints checking to the member type */
+ .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
.default_value = 0,
.name = "ext0"
@@ -324,14 +334,15 @@
CHOICE_encode_der,
CHOICE_decode_xer,
CHOICE_encode_xer,
+ 0, 0, /* No OER support, use "-gen-OER" to enable */
CHOICE_decode_uper,
CHOICE_encode_uper,
- 0, 0, /* No OER support, use "-gen-OER" to enable */
CHOICE_outmost_tag,
0, /* No effective tags (pointer) */
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
+ 0, /* No OER visible constraints */
&asn_PER_type_PDU_2_constr_1,
asn_MBR_PDU_2_1,
3, /* Elements count */