aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-26 07:55:31 +0100
committerBjörn Gustavsson <[email protected]>2013-05-31 14:52:15 +0200
commit7a9d412b23f3e4f413b7408a66fb4b076d0efefa (patch)
tree6c6583ab9a31b617f5fc8e01fbe3bc52c82d9ff4 /lib/asn1
parentab7f7f53dc75cdf6ff05abd5663b1c2add39963c (diff)
downloadotp-7a9d412b23f3e4f413b7408a66fb4b076d0efefa.tar.gz
otp-7a9d412b23f3e4f413b7408a66fb4b076d0efefa.tar.bz2
otp-7a9d412b23f3e4f413b7408a66fb4b076d0efefa.zip
Use the record definition for #Externaltypereference
Diffstat (limited to 'lib/asn1')
-rw-r--r--lib/asn1/src/asn1ct_constructed_ber_bin_v2.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_constructed_ber_bin_v2.erl b/lib/asn1/src/asn1ct_constructed_ber_bin_v2.erl
index 6f4fd2520e..bc8189c2c8 100644
--- a/lib/asn1/src/asn1ct_constructed_ber_bin_v2.erl
+++ b/lib/asn1/src/asn1ct_constructed_ber_bin_v2.erl
@@ -1455,7 +1455,7 @@ print_attribute_comment(InnerType,Pos,Cname,Prop) ->
CommentLine = "%%-------------------------------------------------",
emit([nl,CommentLine]),
case InnerType of
- {'Externaltypereference',_,XModule,Name} ->
+ #'Externaltypereference'{module=XModule,type=Name} ->
emit([nl,"%% attribute ",Cname,"(",Pos,") External ",XModule,":",Name]);
_ ->
emit([nl,"%% attribute ",Cname,"(",Pos,") with type ",InnerType])