@@ -3746,9 +3746,9 @@ module Bsb_db : sig
37463746type case = bool
37473747
37483748type info =
3749- | Mli (* intemediate state *)
3750- | Ml
3751- | Ml_mli
3749+ | Intf (* intemediate state *)
3750+ | Impl
3751+ | Impl_intf
37523752
37533753
37543754
@@ -3816,9 +3816,9 @@ type case = bool
38163816
38173817
38183818type info =
3819- | Mli (* intemediate state *)
3820- | Ml
3821- | Ml_mli
3819+ | Intf (* intemediate state *)
3820+ | Impl
3821+ | Impl_intf
38223822
38233823type module_info =
38243824 {
@@ -10295,7 +10295,7 @@ let merge (acc : t) (sources : t) : t =
1029510295
1029610296let sanity_check (map : t) =
1029710297 Map_string.iter map (fun m module_info ->
10298- if module_info.info = Mli then
10298+ if module_info.info = Intf then
1029910299 Bsb_exception.no_implementation m
1030010300 )
1030110301
@@ -10313,13 +10313,13 @@ let check (x : module_info)
1031310313 || x.case <> case
1031410314 || x.is_re <> is_re
1031510315 || x_ml_info = module_info
10316- || x_ml_info = Ml_mli
10316+ || x_ml_info = Impl_intf
1031710317 then
1031810318 Bsb_exception.invalid_spec
1031910319 (Printf.sprintf
1032010320 "implementation and interface have different path names or different cases %s vs %s"
1032110321 x.name_sans_extension name_sans_extension));
10322- x.info <- Ml_mli ;
10322+ x.info <- Impl_intf ;
1032310323 x
1032410324
1032510325
@@ -10331,7 +10331,7 @@ let add_basename
1033110331 (map : t)
1033210332 ?(error_on_invalid_suffix)
1033310333 basename : t =
10334- let info = ref Bsb_db.Ml in
10334+ let info = ref Bsb_db.Impl in
1033510335 let is_re = ref false in
1033610336 let invalid_suffix = ref false in
1033710337 (match Ext_filename.get_extension_maybe basename with
@@ -10340,9 +10340,9 @@ let add_basename
1034010340 | ".re" ->
1034110341 is_re := true
1034210342 | ".mli" ->
10343- info := Mli
10343+ info := Intf
1034410344 | ".rei" ->
10345- info := Mli ;
10345+ info := Intf ;
1034610346 is_re := true
1034710347 | _ ->
1034810348 invalid_suffix := true
@@ -13443,7 +13443,7 @@ let emit_module_build
1344313443 namespace
1344413444 (module_info : Bsb_db.module_info)
1344513445 =
13446- let has_intf_file = module_info.info = Ml_mli in
13446+ let has_intf_file = module_info.info = Impl_intf in
1344713447 let is_re = module_info.is_re in
1344813448 let filename_sans_extension = module_info.name_sans_extension in
1344913449 let input_impl =
0 commit comments