Skip to content

Commit a2de6e5

Browse files
committed
Remove Config.syntax_kind.
1 parent 79e9b46 commit a2de6e5

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

jscomp/bsc/rescript_compiler_main.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,6 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
306306
"-unboxed-types", set Clflags.unboxed_types,
307307
"*internal* Unannotated unboxable types will be unboxed";
308308

309-
"-bs-ml-out", unit_call (fun _ -> Config.syntax_kind := `ml),
310-
"*internal* Print compiler output in ML syntax";
311-
312309
"-bs-D", string_call define_variable,
313310
"Define conditional variable e.g, -D DEBUG=true";
314311

jscomp/ext/config.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ let standard_library =
77

88
let standard_library_default = standard_library
99

10-
let syntax_kind = ref `ml
11-
1210
let bs_only = ref true
1311

1412
let unsafe_empty_array = ref false

jscomp/ext/config.mli

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ val version : string
2121
val standard_library : string
2222
(* The directory containing the standard libraries *)
2323

24-
val syntax_kind : [ `ml | `rescript ] ref
25-
2624
val bs_only : bool ref
2725

2826
val unsafe_empty_array : bool ref

0 commit comments

Comments
 (0)