File tree 5 files changed +5
-18
lines changed
5 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ let get_check_div_by_zero () = !check_div_by_zero
59
59
60
60
let syntax_only = ref false
61
61
let binary_ast = ref false
62
- let simple_binary_ast = ref false
62
+
63
63
64
64
let bs_suffix = ref false
65
65
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ val tool_name : string
74
74
75
75
val syntax_only : bool ref
76
76
val binary_ast : bool ref
77
- val simple_binary_ast : bool ref
77
+
78
78
79
79
80
80
val bs_suffix : bool ref
Original file line number Diff line number Diff line change @@ -56,11 +56,6 @@ let process_with_gentype filename =
56
56
57
57
let after_parsing_sig ppf outputprefix ast =
58
58
Ast_config. iter_on_bs_config_sigi ast;
59
- if ! Js_config. simple_binary_ast then begin
60
- let oc = open_out_bin (outputprefix ^ Literals. suffix_mliast_simple) in
61
- Ml_binary. write_ast Mli ! Location. input_name ast oc;
62
- close_out oc ;
63
- end ;
64
59
if ! Js_config. binary_ast then
65
60
begin
66
61
let sourcefile = ! Location. input_name in
@@ -165,11 +160,6 @@ let after_parsing_impl ppf outputprefix (ast : Parsetree.structure) =
165
160
let ast =
166
161
if ! Js_config. no_export then
167
162
no_export ast else ast in
168
- if ! Js_config. simple_binary_ast then begin
169
- let oc = open_out_bin (outputprefix ^ Literals. suffix_mlast_simple) in
170
- Ml_binary. write_ast Ml ! Location. input_name ast oc;
171
- close_out oc ;
172
- end ;
173
163
if ! Js_config. binary_ast then begin
174
164
let sourcefile = ! Location. input_name in
175
165
Binary_ast. write_ast ~sourcefile
Original file line number Diff line number Diff line change @@ -386,10 +386,7 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
386
386
387
387
" -bs-list-conditionals" , unit_call (fun () -> Lexer. list_variables Format. err_formatter),
388
388
" List existing conditional variables" ;
389
-
390
- " -bs-simple-binary-ast" , set Js_config. simple_binary_ast,
391
- " *internal* Generate binary .mliast_simple and mlast_simple" ;
392
-
389
+
393
390
" -bs-eval" , string_call (fun s -> eval s ~suffix: Literals. suffix_ml),
394
391
" *internal* (experimental) set the string to be evaluated in OCaml syntax" ;
395
392
Original file line number Diff line number Diff line change @@ -11909,7 +11909,7 @@ val tool_name : string
11909
11909
11910
11910
val syntax_only : bool ref
11911
11911
val binary_ast : bool ref
11912
- val simple_binary_ast : bool ref
11912
+
11913
11913
11914
11914
11915
11915
val bs_suffix : bool ref
@@ -11999,7 +11999,7 @@ let get_check_div_by_zero () = !check_div_by_zero
11999
11999
12000
12000
let syntax_only = ref false
12001
12001
let binary_ast = ref false
12002
- let simple_binary_ast = ref false
12002
+
12003
12003
12004
12004
let bs_suffix = ref false
12005
12005
You can’t perform that action at this time.
0 commit comments