diff options
author | Erlang/OTP <[email protected]> | 2010-10-04 13:07:28 +0200 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-10-04 13:07:28 +0200 |
commit | c8122ff35f5e0cc4af7f8ea7fd63af126f245ffd (patch) | |
tree | 23b95141897fc637234487c0926a83b230b58263 /lib/asn1/src/asn1ct_check.erl | |
parent | 5ddf44bb91540fd88e604f077d71482c40185cd8 (diff) | |
parent | c6f303fba85322f74a4e8165046924ebf2fd1eed (diff) | |
download | otp-c8122ff35f5e0cc4af7f8ea7fd63af126f245ffd.tar.gz otp-c8122ff35f5e0cc4af7f8ea7fd63af126f245ffd.tar.bz2 otp-c8122ff35f5e0cc4af7f8ea7fd63af126f245ffd.zip |
Merge branch 'kenneth/asn1/enc_extaddgrp/OTP-8866' into maint-r13
* kenneth/asn1/enc_extaddgrp/OTP-8866:
Add additional test to cover this correction
correct the encoding of ExtensionAdditionGroup
temp
Add support for ExtensionAdditionGroup notation in nested types as well
Diffstat (limited to 'lib/asn1/src/asn1ct_check.erl')
-rw-r--r-- | lib/asn1/src/asn1ct_check.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl index 1c9f2c759a..7cd29623c1 100644 --- a/lib/asn1/src/asn1ct_check.erl +++ b/lib/asn1/src/asn1ct_check.erl @@ -6408,6 +6408,12 @@ any_component_relation(S,Type,CNames,NamePath,Acc) when is_record(Type,type) -> [] end, InnerAcc ++ CRelPath ++ Acc; +%% Just skip the markers for ExtensionAdditionGroup start and end +%% in this function +any_component_relation(S,[#'ExtensionAdditionGroup'{}|Cs],CNames,NamePath,Acc) -> + any_component_relation(S,Cs,CNames,NamePath,Acc); +any_component_relation(S,['ExtensionAdditionGroupEnd'|Cs],CNames,NamePath,Acc) -> + any_component_relation(S,Cs,CNames,NamePath,Acc); any_component_relation(_,[],_,_,Acc) -> Acc. |