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 =
64896489 p_str " ]"
64906490
64916491
6492-
6492+ let warning_unused_file : _ format = " WARNING: file %s under %s is ignored due to that it is not a valid module name "
64936493
64946494let handle_list_files dir (s : Ext_json.t array ) loc_start loc_end : Ext_file_pp.interval list * _ =
64956495 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
65066506 end
65076507 | Invalid_module_name ->
65086508 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
65106510 name dir
65116511 ) ;
65126512 acc
@@ -6601,7 +6601,7 @@ and parsing_source (dir_index : int) cwd (x : Ext_json.t )
66016601 Binary_cache. map_update ~dir acc name
66026602 | Invalid_module_name ->
66036603 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
66056605 name dir
66066606 ) ;
66076607 acc
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ let print_arrays file_array oc offset =
9595 p_str " ]"
9696
9797
98-
98+ let warning_unused_file : _ format = " WARNING: file %s under %s is ignored due to that it is not a valid module name "
9999
100100let handle_list_files dir (s : Ext_json.t array ) loc_start loc_end : Ext_file_pp.interval list * _ =
101101 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
112112 end
113113 | Invalid_module_name ->
114114 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
116116 name dir
117117 ) ;
118118 acc
@@ -207,7 +207,7 @@ and parsing_source (dir_index : int) cwd (x : Ext_json.t )
207207 Binary_cache. map_update ~dir acc name
208208 | Invalid_module_name ->
209209 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
211211 name dir
212212 ) ;
213213 acc
You can’t perform that action at this time.
0 commit comments