Skip to content

Commit e70e1e7

Browse files
committed
Set compiler's error-style and color through env vars in standalone mode
1 parent f15e464 commit e70e1e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/driver.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,7 @@ let standalone_run_as_ppx_rewriter () =
12571257
;;
12581258

12591259
let standalone () =
1260+
Ocaml_common.Compmisc.read_clflags_from_env ();
12601261
try
12611262
if Array.length Caml.Sys.argv >= 2 &&
12621263
match Caml.Sys.argv.(1) with

0 commit comments

Comments
 (0)