aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-05 07:58:12 +0200
committerBjörn Gustavsson <[email protected]>2013-09-18 10:22:30 +0200
commitcc69e8e6c145c0829f184e9ac402b2ec8172a005 (patch)
tree704fde34057bedeffcd331a75f5994b1c5bc26da /lib/asn1/src
parent5b96f21257c1782af5ee8c58f5c726f91ba56c83 (diff)
downloadotp-cc69e8e6c145c0829f184e9ac402b2ec8172a005.tar.gz
otp-cc69e8e6c145c0829f184e9ac402b2ec8172a005.tar.bz2
otp-cc69e8e6c145c0829f184e9ac402b2ec8172a005.zip
asn1ct_gen: Clean up process dictionary after generating
Cleanliness.
Diffstat (limited to 'lib/asn1/src')
-rw-r--r--lib/asn1/src/asn1ct_gen.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/asn1/src/asn1ct_gen.erl b/lib/asn1/src/asn1ct_gen.erl
index e6ec0cb12b..c526c28b70 100644
--- a/lib/asn1/src/asn1ct_gen.erl
+++ b/lib/asn1/src/asn1ct_gen.erl
@@ -85,6 +85,8 @@ pgen_module(OutFile,Erules,Module,
"%%%",nl]),
asn1ct_func:generate(Fid),
file:close(Fid),
+ _ = erase(gen_file_out),
+ _ = erase(outfile),
asn1ct:verbose("--~p--~n",[{generated,ErlFile}],Options).