aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_gen.erl
diff options
context:
space:
mode:
authorNiclas Axelsson <[email protected]>2011-02-17 12:05:58 +0100
committerNiclas Axelsson <[email protected]>2011-02-17 12:06:16 +0100
commit42012b2d7fb890b2a8d8c2707b364feb038f285f (patch)
tree8dc0dc7853f83d5a9e438f299baf6e9a753baac9 /lib/asn1/src/asn1ct_gen.erl
parent783569035cbb5ed848a930435d99c4a3167a70aa (diff)
parent93face25db7222e5c0e4950caaa8acbf6d9bc2dc (diff)
downloadotp-42012b2d7fb890b2a8d8c2707b364feb038f285f.tar.gz
otp-42012b2d7fb890b2a8d8c2707b364feb038f285f.tar.bz2
otp-42012b2d7fb890b2a8d8c2707b364feb038f285f.zip
Merge branch 'ta/asn1-reporting' into dev
* ta/asn1-reporting: asn1ct: Make formatting of errors and warnings consistent OTP-9062
Diffstat (limited to 'lib/asn1/src/asn1ct_gen.erl')
-rw-r--r--lib/asn1/src/asn1ct_gen.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/asn1/src/asn1ct_gen.erl b/lib/asn1/src/asn1ct_gen.erl
index 0bb0b65e5d..0844c38353 100644
--- a/lib/asn1/src/asn1ct_gen.erl
+++ b/lib/asn1/src/asn1ct_gen.erl
@@ -87,7 +87,7 @@ pgen_module(OutFile,Erules,Module,
% gen_vars(asn1_db:mod_to_vars(Module)),
% gen_tag_table(AllTypes),
file:close(Fid),
- asn1ct:report_verbose("--~p--~n",[{generated,ErlFile}],Options).
+ asn1ct:verbose("--~p--~n",[{generated,ErlFile}],Options).
pgen_typeorval(Erules,Module,N2nConvEnums,{Types,Values,_Ptypes,_Classes,Objects,ObjectSets}) ->
@@ -1340,9 +1340,9 @@ pgen_hrl(Erules,Module,TypeOrVal,Options,_Indent) ->
Y ->
Fid = get(gen_file_out),
file:close(Fid),
- asn1ct:report_verbose("--~p--~n",
- [{generated,lists:concat([get(outfile),".hrl"])}],
- Options),
+ asn1ct:verbose("--~p--~n",
+ [{generated,lists:concat([get(outfile),".hrl"])}],
+ Options),
Y
end.