diff options
author | Björn Gustavsson <[email protected]> | 2013-04-18 14:07:33 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-04-18 14:07:33 +0200 |
commit | d99f028d441e20bbe09701808d4886f42d3495b6 (patch) | |
tree | 75efe8e6236ae9e802774aa3094c287dcfcbcbb1 /lib/asn1/src/asn1ct_check.erl | |
parent | 3048124f81e74f9729f0c3e045ca8dd6cc86f3ab (diff) | |
parent | 2e04fc33553703c17f2958dd7b02c22ba77322a0 (diff) | |
download | otp-d99f028d441e20bbe09701808d4886f42d3495b6.tar.gz otp-d99f028d441e20bbe09701808d4886f42d3495b6.tar.bz2 otp-d99f028d441e20bbe09701808d4886f42d3495b6.zip |
Merge branch 'maint'
* maint:
Prepare release
Prepare release
Do not count offline run-queues as empty
Prepare release
Prevent loss of objects after the extension marker
Don't lose the extension mark for object set parameters
Diffstat (limited to 'lib/asn1/src/asn1ct_check.erl')
-rw-r--r-- | lib/asn1/src/asn1ct_check.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl index e1911d8170..0622998445 100644 --- a/lib/asn1/src/asn1ct_check.erl +++ b/lib/asn1/src/asn1ct_check.erl @@ -1025,8 +1025,8 @@ prepare_objset({{'SingleValue',Set},Ext}) -> %% {set,lists:append([Set,Ext]),true}; prepare_objset({Set,Ext}) when is_list(Set) -> {set,merge_sets(Set,Ext),true}; -prepare_objset({ObjDef={object,definedsyntax,_ObjFields},_Ext}) -> - {set,[ObjDef],true}; +prepare_objset({{object,definedsyntax,_ObjFields}=Set,Ext}) -> + {set,merge_sets(Set, Ext),true}; prepare_objset(ObjDef={object,definedsyntax,_ObjFields}) -> {set,[ObjDef],false}; prepare_objset({ObjDef=#type{},Ext}) when is_list(Ext) -> @@ -4034,8 +4034,8 @@ categorize(S,value,Type,Value) -> [#valuedef{type=Type,value=Value,module=S#state.mname}]. -parse_objectset({valueset,T=#type{}}) -> - [T]; +parse_objectset({valueset,#type{def=#'Externaltypereference'{}=Ref}}) -> + Ref; parse_objectset({valueset,Set}) -> Set; parse_objectset(#type{def=Ref}) when is_record(Ref,'Externaltypereference') -> |