Skip to content

Commit

Permalink
Fix web build
Browse files Browse the repository at this point in the history
dariusf committed Dec 18, 2023
1 parent 15ae61b commit 7748114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsing/hipjs.ml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ let main () =
Jv.set Jv.global "hip_run_string"
(Jv.callback ~arity:1 (fun s ->
let debug = Jv.call Jv.global "debug_output" [||] |> Jv.to_bool in
Hiplib.Debug.debug_level := if debug then 2 else 0;
Hiplib.Debug.user_query := if debug then [(Show, LogLevel 2, false)] else [(Hide, All, false)];
Hiplib.run_string (Jv.to_string s)))

let () = main ()

0 comments on commit 7748114

Please sign in to comment.