From dede6b114f0006c55f41063e73d4b28b29710b95 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Thu, 20 Jul 2017 16:06:27 +0200 Subject: asn1: Fix missing quotes of external encoding call introduced by 8e4a9864385242b962ce7446f7daa4f58cfecca5. --- lib/asn1/src/asn1ct_gen_per.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/asn1/src') 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. -- cgit v1.2.3