diff options
author | Björn Gustavsson <[email protected]> | 2017-03-14 09:04:41 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-03-14 09:47:40 +0100 |
commit | 4b51ea6aa2c4542ca83008cd4abb22169e481620 (patch) | |
tree | 301f3651ff8718534d83a9dcd1dd375ef8183ba7 /lib/asn1/src/asn1ct_gen.erl | |
parent | 8e4a9864385242b962ce7446f7daa4f58cfecca5 (diff) | |
download | otp-4b51ea6aa2c4542ca83008cd4abb22169e481620.tar.gz otp-4b51ea6aa2c4542ca83008cd4abb22169e481620.tar.bz2 otp-4b51ea6aa2c4542ca83008cd4abb22169e481620.zip |
Remove the 'debug' option
The debug option no longer serves any useful purpose.
Diffstat (limited to 'lib/asn1/src/asn1ct_gen.erl')
-rw-r--r-- | lib/asn1/src/asn1ct_gen.erl | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/asn1/src/asn1ct_gen.erl b/lib/asn1/src/asn1ct_gen.erl index 9f628c7b04..8b101bbd70 100644 --- a/lib/asn1/src/asn1ct_gen.erl +++ b/lib/asn1/src/asn1ct_gen.erl @@ -22,8 +22,7 @@ -include("asn1_records.hrl"). --export([demit/1, - emit/1, +-export([emit/1, open_output_file/1,close_output_file/0, get_inner/1,type/1,def_to_tag/1,prim_bif/1, list2name/1, @@ -954,17 +953,6 @@ hrl_protector(OutFile) -> end || C <- P]. -%% EMIT functions ************************ -%% *************************************** - - % debug generation -demit(Term) -> - case get(asndebug) of - true -> emit(Term); - _ ->true - end. - - % always generation emit(Term) -> ok = file:write(get(gen_file_out), do_emit(Term)). |