aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct.erl
diff options
context:
space:
mode:
authorNiclas Axelsson <[email protected]>2011-02-17 12:26:14 +0100
committerNiclas Axelsson <[email protected]>2011-02-17 12:26:20 +0100
commitb83388e78e72e66f4e0dae42083a6bcd9709922e (patch)
tree33c69a900e5c519de879a4804f921f6985df1be3 /lib/asn1/src/asn1ct.erl
parent42012b2d7fb890b2a8d8c2707b364feb038f285f (diff)
parent508a6d2a69e5d3395816fa353d813adb61aa835f (diff)
downloadotp-b83388e78e72e66f4e0dae42083a6bcd9709922e.tar.gz
otp-b83388e78e72e66f4e0dae42083a6bcd9709922e.tar.bz2
otp-b83388e78e72e66f4e0dae42083a6bcd9709922e.zip
Merge branch 'ks/asn1-dialyzer-fixes' into dev
* ks/asn1-dialyzer-fixes: Shut off some dialyzer warnings OTP-9063
Diffstat (limited to 'lib/asn1/src/asn1ct.erl')
-rw-r--r--lib/asn1/src/asn1ct.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct.erl b/lib/asn1/src/asn1ct.erl
index 469a776527..947578f07d 100644
--- a/lib/asn1/src/asn1ct.erl
+++ b/lib/asn1/src/asn1ct.erl
@@ -149,7 +149,7 @@ compile1(File,Options) when is_list(Options) ->
inline(true,Name,Module,Options) ->
RTmodule = get_runtime_mod(Options),
IgorOptions = igorify_options(remove_asn_flags(Options)),
- IgorName = filename:rootname(filename:basename(Name)),
+ IgorName = list_to_atom(filename:rootname(filename:basename(Name))),
% io:format("*****~nName: ~p~nModules: ~p~nIgorOptions: ~p~n*****~n",
% [IgorName,Modules++RTmodule,IgorOptions]),
verbose("Inlining modules: ~p in ~p~n",[[Module]++RTmodule,IgorName],Options),
@@ -1185,6 +1185,7 @@ is_inline(Options) ->
_ ->
lists:keymember(inline,1,Options)
end.
+
inline_output(Options,Default) ->
case [X||{inline,X}<-Options] of
[OutputName] ->