File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6489,7 +6489,7 @@ let print_arrays file_array oc offset =
6489
6489
p_str " ]"
6490
6490
6491
6491
6492
-
6492
+ let warning_unused_file : _ format = " WARNING: file %s under %s is ignored due to that it is not a valid module name "
6493
6493
6494
6494
let handle_list_files dir (s : Ext_json.t array ) loc_start loc_end : Ext_file_pp.interval list * _ =
6495
6495
if Ext_array. is_empty s then
@@ -6506,7 +6506,7 @@ let handle_list_files dir (s : Ext_json.t array) loc_start loc_end : Ext_file_p
6506
6506
end
6507
6507
| Invalid_module_name ->
6508
6508
print_endline
6509
- (Printf. sprintf " file %s under %s is ignored due to that it is not a valid module name "
6509
+ (Printf. sprintf warning_unused_file
6510
6510
name dir
6511
6511
) ;
6512
6512
acc
@@ -6601,7 +6601,7 @@ and parsing_source (dir_index : int) cwd (x : Ext_json.t )
6601
6601
Binary_cache. map_update ~dir acc name
6602
6602
| Invalid_module_name ->
6603
6603
print_endline
6604
- (Printf. sprintf " file %s under %s is ignored due to that it is not a valid module name "
6604
+ (Printf. sprintf warning_unused_file
6605
6605
name dir
6606
6606
) ;
6607
6607
acc
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ let print_arrays file_array oc offset =
95
95
p_str " ]"
96
96
97
97
98
-
98
+ let warning_unused_file : _ format = " WARNING: file %s under %s is ignored due to that it is not a valid module name "
99
99
100
100
let handle_list_files dir (s : Ext_json.t array ) loc_start loc_end : Ext_file_pp.interval list * _ =
101
101
if Ext_array. is_empty s then
@@ -112,7 +112,7 @@ let handle_list_files dir (s : Ext_json.t array) loc_start loc_end : Ext_file_p
112
112
end
113
113
| Invalid_module_name ->
114
114
print_endline
115
- (Printf. sprintf " file %s under %s is ignored due to that it is not a valid module name "
115
+ (Printf. sprintf warning_unused_file
116
116
name dir
117
117
) ;
118
118
acc
@@ -207,7 +207,7 @@ and parsing_source (dir_index : int) cwd (x : Ext_json.t )
207
207
Binary_cache. map_update ~dir acc name
208
208
| Invalid_module_name ->
209
209
print_endline
210
- (Printf. sprintf " file %s under %s is ignored due to that it is not a valid module name "
210
+ (Printf. sprintf warning_unused_file
211
211
name dir
212
212
) ;
213
213
acc
You can’t perform that action at this time.
0 commit comments