aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_gen_per.erl
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-07-27 09:10:16 +0200
committerJohn Högberg <[email protected]>2017-07-27 09:10:16 +0200
commit2f49a6bdc5bc9207162bff837b3f642cdd089722 (patch)
treebc069deded7bf5130543a3be2dd66ad89abf7772 /lib/asn1/src/asn1ct_gen_per.erl
parent0b4e79dc173d562d05d93867d5cc9f1711ad0582 (diff)
parent6ede2da826335960037299d9f3b0e66d072ea5a0 (diff)
downloadotp-2f49a6bdc5bc9207162bff837b3f642cdd089722.tar.gz
otp-2f49a6bdc5bc9207162bff837b3f642cdd089722.tar.bz2
otp-2f49a6bdc5bc9207162bff837b3f642cdd089722.zip
Merge branch 'maint-20' into maint
* maint-20: Updated OTP version Update release notes Update version numbers Fix doc for the 'quiet' option; it defaults to false asn1: Fix missing quotes of external encoding call Add a dedicated close function for TCP ports to prevent issues like ERL-430/448 Close TCP ports properly on send timeout erts: Add missing release note
Diffstat (limited to 'lib/asn1/src/asn1ct_gen_per.erl')
-rw-r--r--lib/asn1/src/asn1ct_gen_per.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_gen_per.erl b/lib/asn1/src/asn1ct_gen_per.erl
index 28b4e46b0c..82e9326294 100644
--- a/lib/asn1/src/asn1ct_gen_per.erl
+++ b/lib/asn1/src/asn1ct_gen_per.erl
@@ -101,7 +101,7 @@ gen_encode_user(Erules,D) when is_record(D,typedef) ->
#'Externaltypereference'{module=CurrMod,type=Etype} ->
emit([{asis,enc_func(Etype)},"(Val).",nl]);
#'Externaltypereference'{module=Emod,type=Etype} ->
- emit([{asis,Emod},":",enc_func(Etype),"(Val).",nl])
+ emit([{asis,Emod},":",{asis,enc_func(Etype)},"(Val).",nl])
end.