SEQUENCE is ordered

This commit is contained in:
Lev Walkin 2005-03-10 15:16:56 +00:00
parent 3f12bc0607
commit d7963aa403
1 changed files with 4 additions and 1 deletions

View File

@ -690,7 +690,10 @@ asn1print_expr_dtd(asn1p_t *asn, asn1p_module_t *mod, asn1p_expr_t *expr, enum a
dont_involve_children = 1;
}
if((expr->expr_type & ASN_CONSTR_MASK)
if(expr->expr_type == ASN_CONSTR_CHOICE
|| expr->expr_type == ASN_CONSTR_SEQUENCE_OF
|| expr->expr_type == ASN_CONSTR_SET_OF
|| expr->expr_type == ASN_CONSTR_SET
|| expr->expr_type == ASN_BASIC_INTEGER
|| expr->expr_type == ASN_BASIC_ENUMERATED) {
expr_unordered = 1;