regenerated
diff --git a/tests/tests-asn1c-compiler/147-inherit-per-constraints-OK.asn1.-Pgen-OER b/tests/tests-asn1c-compiler/147-inherit-per-constraints-OK.asn1.-Pgen-OER
index 802665f..41ecc19 100644
--- a/tests/tests-asn1c-compiler/147-inherit-per-constraints-OK.asn1.-Pgen-OER
+++ b/tests/tests-asn1c-compiler/147-inherit-per-constraints-OK.asn1.-Pgen-OER
@@ -67,15 +67,13 @@
"Short",
"Short",
&asn_OP_NativeInteger,
- Short_constraint,
asn_DEF_Short_tags_1,
sizeof(asn_DEF_Short_tags_1)
/sizeof(asn_DEF_Short_tags_1[0]), /* 1 */
asn_DEF_Short_tags_1, /* Same as above */
sizeof(asn_DEF_Short_tags_1)
/sizeof(asn_DEF_Short_tags_1[0]), /* 1 */
- &asn_OER_type_Short_constr_1,
- 0, /* No PER visible constraints */
+ { &asn_OER_type_Short_constr_1, 0, Short_constraint },
0, 0, /* No members */
0 /* No specifics */
};
@@ -149,15 +147,13 @@
"Alias",
"Alias",
&asn_OP_NativeInteger,
- Alias_constraint,
asn_DEF_Alias_tags_1,
sizeof(asn_DEF_Alias_tags_1)
/sizeof(asn_DEF_Alias_tags_1[0]), /* 1 */
asn_DEF_Alias_tags_1, /* Same as above */
sizeof(asn_DEF_Alias_tags_1)
/sizeof(asn_DEF_Alias_tags_1[0]), /* 1 */
- &asn_OER_type_Alias_constr_1,
- 0, /* No PER visible constraints */
+ { &asn_OER_type_Alias_constr_1, 0, Alias_constraint },
0, 0, /* No members */
0 /* No specifics */
};
@@ -227,9 +223,7 @@
.tag_mode = 0,
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
- .memb_constraints = memb_foo_constraint_1,
- .oer_constraints = &asn_OER_memb_foo_constr_2,
- .per_constraints = 0, /* PER is not compiled, use -gen-PER */
+ { .oer_constraints = &asn_OER_memb_foo_constr_2, .per_constraints = 0, .general_constraints = memb_foo_constraint_1 },
.default_value = 0,
.name = "foo"
},
@@ -238,9 +232,7 @@
.tag_mode = 0,
.type = &asn_DEF_Short,
.type_selector = 0,
- .memb_constraints = 0, /* Defer constraints checking to the member type */
- .oer_constraints = 0, /* No OER visible constraints */
- .per_constraints = 0, /* PER is not compiled, use -gen-PER */
+ { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value = 0,
.name = "bar"
},
@@ -249,9 +241,7 @@
.tag_mode = 0,
.type = &asn_DEF_Alias,
.type_selector = 0,
- .memb_constraints = 0, /* Defer constraints checking to the member type */
- .oer_constraints = 0, /* No OER visible constraints */
- .per_constraints = 0, /* PER is not compiled, use -gen-PER */
+ { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value = 0,
.name = "baz"
},
@@ -277,15 +267,13 @@
"Soo",
"Soo",
&asn_OP_SEQUENCE,
- SEQUENCE_constraint,
asn_DEF_Soo_tags_1,
sizeof(asn_DEF_Soo_tags_1)
/sizeof(asn_DEF_Soo_tags_1[0]), /* 1 */
asn_DEF_Soo_tags_1, /* Same as above */
sizeof(asn_DEF_Soo_tags_1)
/sizeof(asn_DEF_Soo_tags_1[0]), /* 1 */
- 0, /* No OER visible constraints */
- 0, /* No PER visible constraints */
+ { 0, 0, SEQUENCE_constraint },
asn_MBR_Soo_1,
3, /* Elements count */
&asn_SPC_Soo_specs_1 /* Additional specs */