@@ -30,26 +30,12 @@ let print_if_pipe ppf flag printer arg =
30
30
31
31
let print_if ppf flag printer arg = if ! flag then fprintf ppf " %a@." printer arg
32
32
33
- let output_deps_set name set =
34
- output_string stdout name;
35
- output_string stdout " : " ;
36
- Depend.StringSet. iter
37
- (fun s ->
38
- if s <> " " && s.[0 ] <> '*' then (
39
- output_string stdout s;
40
- output_string stdout " " ))
41
- set;
42
- output_string stdout " \n "
43
-
44
33
let process_with_gentype cmt_file =
45
34
if ! Clflags. bs_gentype then GenTypeMain. process_cmt_file cmt_file
46
35
47
36
let after_parsing_sig ppf outputprefix ast =
48
37
if ! Clflags. only_parse = false then (
49
38
Ast_config. process_sig ast;
50
- if ! Js_config. modules then
51
- output_deps_set ! Location. input_name
52
- (Ast_extract. read_parse_and_extract Mli ast);
53
39
(if ! Js_config. binary_ast then
54
40
let sourcefile = ! Location. input_name in
55
41
Binary_ast. write_ast Mli ~sourcefile
@@ -133,9 +119,6 @@ let after_parsing_impl ppf outputprefix (ast : Parsetree.structure) =
133
119
! Clflags. assume_no_mli = Mli_non_exists && all_module_alias ast;
134
120
Ast_config. process_str ast;
135
121
let ast = if ! Js_config. no_export then no_export ast else ast in
136
- if ! Js_config. modules then
137
- output_deps_set ! Location. input_name
138
- (Ast_extract. read_parse_and_extract Ml ast);
139
122
(if ! Js_config. binary_ast then
140
123
let sourcefile = ! Location. input_name in
141
124
Binary_ast. write_ast ~sourcefile Ml
0 commit comments