diff options
author | Björn Gustavsson <[email protected]> | 2017-01-17 10:01:18 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-02-03 13:34:23 +0100 |
commit | bfaf9c12ae3f84d71518697258734b0c9f5556fd (patch) | |
tree | fba9359a60b281a717cbea2ab49a5dc2da36505f /lib | |
parent | 13d58883d9e8c992d4d07aff31aaf8df366f12b9 (diff) | |
download | otp-bfaf9c12ae3f84d71518697258734b0c9f5556fd.tar.gz otp-bfaf9c12ae3f84d71518697258734b0c9f5556fd.tar.bz2 otp-bfaf9c12ae3f84d71518697258734b0c9f5556fd.zip |
asn1ct_check: Number the components in INSTANCE OF
asn1ct_check numbers all components in SEQUENCEs and SETs, except
for the associated sequence for INSTANCE OF. Remove this exception
so that the code generation pass can depend on SEQUENCEs being
numbered.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/asn1/src/asn1ct_check.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl index f2c895bfaa..a01a22ddc4 100644 --- a/lib/asn1/src/asn1ct_check.erl +++ b/lib/asn1/src/asn1ct_check.erl @@ -4192,7 +4192,7 @@ iof_associated_type1(S,C) -> %% fieldname=[{typefieldreference,'Type'}], fieldname={'Type',[]}, type=Typefield_type}, - IOFComponents = + IOFComponents0 = [#'ComponentType'{name='type-id', typespec=#type{tag=C1TypeTag, def=ObjectIdentifier, @@ -4209,6 +4209,7 @@ iof_associated_type1(S,C) -> tablecinf=Comp2tablecinf}, prop=mandatory, tags=[{'CONTEXT',0}]}], + IOFComponents = textual_order(IOFComponents0), #'SEQUENCE'{tablecinf=TableCInf, components=simplify_comps(IOFComponents)}. |