Skip to content

Commit d4e9387

Browse files
committed
tweak $ printing & clean up caml_array runtime
1 parent 27777b7 commit d4e9387

File tree

159 files changed

+19484
-19650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+19484
-19650
lines changed

jscomp/core/bs_cmi_load.ml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
2424

2525
#if BS_RELEASE_BUILD
26-
(*true *)
26+
(*true *)
2727

2828

2929
let load_cmi ~unit_name : Env.Persistent_signature.t option =
@@ -37,15 +37,15 @@ let load_cmi ~unit_name : Env.Persistent_signature.t option =
3737
if Js_config.get_diagnose () then
3838
Format.fprintf Format.err_formatter ">Cmi: %s@." unit_name;
3939
let cmi : Cmi_format.cmi_infos =
40-
Ext_marshal.from_string_uncheck
40+
Ext_marshal.from_string_uncheck
4141
Builtin_cmi_datasets.module_data.(cmi) in
4242
if Js_config.get_diagnose () then
4343
Format.fprintf Format.err_formatter "<Cmi: %s@." unit_name;
4444
Some {filename = Sys.executable_name ;
4545
cmi }
4646
| None -> None
4747

48-
let check () = ()
48+
let check () = ()
4949
(*
5050
Ext_array.iter
5151
Builtin_cmi_datasets.module_sets_cmi

jscomp/core/js_cmj_load.ml

+5-5
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ let load_unit_with_file unit_name : Js_cmj_format.cmj_load_info =
4949
| Some f
5050
->
5151
{package_path =
52-
(** hacking relying on the convention of pkg/lib/ocaml/xx.cmj*)
53-
Filename.dirname (Filename.dirname (Filename.dirname f));
54-
cmj_table = Js_cmj_format.from_file f}
52+
(** hacking relying on the convention of pkg/lib/ocaml/xx.cmj*)
53+
Filename.dirname (Filename.dirname (Filename.dirname f));
54+
cmj_table = Js_cmj_format.from_file f}
5555
| None ->
5656
if !Js_config.no_stdlib then Bs_exception.error (Cmj_not_found unit_name)
5757
else
5858
#if BS_RELEASE_BUILD
59-
Js_cmj_load_builtin_unit.load_builin_unit unit_name
59+
Js_cmj_load_builtin_unit.load_builin_unit unit_name
6060
#else
61-
Bs_exception.error (Cmj_not_found unit_name)
61+
Bs_exception.error (Cmj_not_found unit_name)
6262
#end
6363

6464

0 commit comments

Comments
 (0)