aboutsummaryrefslogtreecommitdiffstats
path: root/lib/typer/src/typer_preprocess.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2011-02-06 16:11:00 +0200
committerKostis Sagonas <[email protected]>2011-02-06 16:11:00 +0200
commit80407de34665df19cc8c34fb361ae179d1e3bb70 (patch)
tree3e637a57a0f7c4a139803c9e1c4a43bd469159e9 /lib/typer/src/typer_preprocess.erl
parente906d3c423425139081d5c1e3683815d6ddcdceb (diff)
downloadotp-80407de34665df19cc8c34fb361ae179d1e3bb70.tar.gz
otp-80407de34665df19cc8c34fb361ae179d1e3bb70.tar.bz2
otp-80407de34665df19cc8c34fb361ae179d1e3bb70.zip
Delete typer_map.erl file
Diffstat (limited to 'lib/typer/src/typer_preprocess.erl')
-rw-r--r--lib/typer/src/typer_preprocess.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/typer/src/typer_preprocess.erl b/lib/typer/src/typer_preprocess.erl
index 27660e849e..3366704bad 100644
--- a/lib/typer/src/typer_preprocess.erl
+++ b/lib/typer/src/typer_preprocess.erl
@@ -30,7 +30,7 @@
get_all_files(#args{files=Fs,files_r=Ds}, analysis) ->
case files_and_dirs(Fs, Ds, fun test_erl_file_exclude_ann/1) of
- [] -> typer:error("no file(s) to analyze");
+ [] -> typer:fatal_error("no file(s) to analyze");
AllFiles -> AllFiles
end;
get_all_files(#args{trusted=Fs}, trust) ->
@@ -98,11 +98,11 @@ check_dir(Dir, Recursive, Acc, Fun) ->
Acc ++ TmpAcc1 ++ TmpAcc2
end;
{error, eacces} ->
- typer:error("no access permission to dir \""++Dir++"\"");
+ typer:fatal_error("no access permission to dir \""++Dir++"\"");
{error, enoent} ->
- typer:error("cannot access "++Dir++": No such file or directory");
+ typer:fatal_error("cannot access "++Dir++": No such file or directory");
{error, _Reason} ->
- typer:error("error involving a use of file:list_dir/1")
+ typer:fatal_error("error involving a use of file:list_dir/1")
end.
%% Same order as the input list