aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_check.erl
diff options
context:
space:
mode:
authorGustav Simonsson <[email protected]>2012-02-14 15:01:05 +0100
committerGustav Simonsson <[email protected]>2012-02-14 15:01:05 +0100
commitc8699e75489d99dad8ec9430a621a39030da3659 (patch)
treeac452386cb7a49aea3a38c21a12ddf24ef5cd166 /lib/asn1/src/asn1ct_check.erl
parent42550aa765f0336aaa103f059491d2f6a7df3a51 (diff)
parent6c2e966d4fccf7ec60795a3293492862f76aba5c (diff)
downloadotp-c8699e75489d99dad8ec9430a621a39030da3659.tar.gz
otp-c8699e75489d99dad8ec9430a621a39030da3659.tar.bz2
otp-c8699e75489d99dad8ec9430a621a39030da3659.zip
Merge branch 'gustav/asn1-integer/sequence-fix/OTP-9688' into maint_with_asn1
Diffstat (limited to 'lib/asn1/src/asn1ct_check.erl')
-rw-r--r--lib/asn1/src/asn1ct_check.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl
index e318477234..105fc02819 100644
--- a/lib/asn1/src/asn1ct_check.erl
+++ b/lib/asn1/src/asn1ct_check.erl
@@ -5253,6 +5253,9 @@ check_int(S,[{'NamedNumber',Id,Num}|T],Acc) when is_integer(Num) ->
check_int(S,[{'NamedNumber',Id,{identifier,_,Name}}|T],Acc) ->
Val = dbget_ex(S,S#state.mname,Name),
check_int(S,[{'NamedNumber',Id,Val#valuedef.value}|T],Acc);
+check_int(S,[{'NamedNumber',Id,{'Externalvaluereference',_,Mod,Name}}|T],Acc) ->
+ Val = dbget_ex(S,Mod,Name),
+ check_int(S,[{'NamedNumber',Id,Val#valuedef.value}|T],Acc);
check_int(_S,[],Acc) ->
lists:keysort(2,Acc).