diff options
author | Björn Gustavsson <[email protected]> | 2013-04-18 13:49:02 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-04-18 13:49:02 +0200 |
commit | 2e04fc33553703c17f2958dd7b02c22ba77322a0 (patch) | |
tree | 6b6130aea4686c252cd788d7b4ce1a41be88617d /lib/asn1/src/asn1ct_check.erl | |
parent | 96ecf847dbbf279f1005c98d513eae489ffac242 (diff) | |
parent | 7da9c3dd86364771c0340f8ab173ca1875e7422f (diff) | |
download | otp-2e04fc33553703c17f2958dd7b02c22ba77322a0.tar.gz otp-2e04fc33553703c17f2958dd7b02c22ba77322a0.tar.bz2 otp-2e04fc33553703c17f2958dd7b02c22ba77322a0.zip |
Merge branch 'maint-r16' into maint
* maint-r16:
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
Conflicts:
erts/vsn.mk
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') -> |