aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-11-18 17:30:26 +0200
committerKostis Sagonas <[email protected]>2010-11-18 17:30:26 +0200
commit508a6d2a69e5d3395816fa353d813adb61aa835f (patch)
tree0219df1d02407905a16dd63128f55ff31fd6cb92 /lib/asn1/src/asn1ct.erl
parentf26528bbea0a24674e797a58b97117c1f8cf163f (diff)
downloadotp-508a6d2a69e5d3395816fa353d813adb61aa835f.tar.gz
otp-508a6d2a69e5d3395816fa353d813adb61aa835f.tar.bz2
otp-508a6d2a69e5d3395816fa353d813adb61aa835f.zip
Shut off some dialyzer warnings
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 968468cb7f..fb2614aa2c 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]),
report_verbose("Inlining modules: ~p in ~p~n",[[Module]++RTmodule,IgorName],Options),
@@ -1183,6 +1183,7 @@ is_inline(Options) ->
_ ->
lists:keymember(inline,1,Options)
end.
+
inline_output(Options,Default) ->
case [X||{inline,X}<-Options] of
[OutputName] ->