Skip to content

Commit 729bff3

Browse files
committed
add Config.syntax_kind
1 parent 11b7a53 commit 729bff3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

utils/config.mli

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

24+
val syntax_kind : [ `ml | `reason | `rescript ] ref
25+
2426
val bs_only : bool ref
2527

2628
val standard_runtime: string

utils/config.mlp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ let standard_library =
3434
#end
3535
standard_library_default
3636
let bs_only = ref false
37+
let syntax_kind = ref `ml
3738
let standard_runtime = "%%BYTERUN%%"
3839
let ccomp_type = "%%CCOMPTYPE%%"
3940
let c_compiler = "%%CC%%"

0 commit comments

Comments
 (0)