Skip to content

Commit ab469ec

Browse files
committed
remove unneeded conditional compilation
1 parent 8e6d82d commit ab469ec

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

jscomp/frontend/bs_builtin_ppx.ml

+2-4
Original file line numberDiff line numberDiff line change
@@ -435,11 +435,9 @@ let rec
435435
| Pstr_extension ( ({txt = ("bs.raw"| "raw") ; loc}, payload), _attrs)
436436
->
437437
Ast_exp_handle_external.handle_raw_structure loc payload :: structure_mapper self rest
438-
#ifndef RELEASE
439-
| Pstr_extension (({txt = "i"}, _),_)
438+
(* | Pstr_extension (({txt = "i"}, _),_)
440439
->
441-
structure_mapper self rest
442-
#endif
440+
structure_mapper self rest *)
443441
| Pstr_extension (({txt = "private"}, _),_)
444442
->
445443
let rec aux acc (rest : Ast_structure.t) =

jscomp/main/rescript_compiler_main.ml

-3
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,6 @@ let bs_version_string =
229229
"ReScript " ^ Bs_version.version
230230

231231
let print_version_string () =
232-
#ifndef RELEASE
233-
print_string "DEV VERSION: ";
234-
#endif
235232
print_endline bs_version_string;
236233
exit 0
237234

0 commit comments

Comments
 (0)