Skip to content

Commit 1779ba9

Browse files
committed
make sure Clflags.bs_only set in bsppx binary
1 parent fb790c3 commit 1779ba9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

jscomp/main/bsppx_main.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@
2424

2525

2626
let () =
27+
(* bsppx.exe is used by merlin/ocamldoc*)
28+
Clflags.bs_only := true;
2729
Ppx_driver.main Ppx_entry.rewrite_implementation Ppx_entry.rewrite_signature
2830

lib/4.02.3/bsppx.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26195,6 +26195,8 @@ end = struct
2619526195

2619626196

2619726197
let () =
26198+
(* bsppx.exe is used by merlin/ocamldoc*)
26199+
Clflags.bs_only := true;
2619826200
Ppx_driver.main Ppx_entry.rewrite_implementation Ppx_entry.rewrite_signature
2619926201

2620026202

0 commit comments

Comments
 (0)