Skip to content

Commit

Permalink
More compatible fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Garth Tuohy authored and emillon committed Jun 12, 2023
1 parent ba0e2c7 commit f2f2aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/uTop_compat.ml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ let set_load_path path =

let toploop_use_silently fmt name =
#if OCAML_VERSION >= (4, 14, 0)
Toploop.use_silently fmt (File name)
Toploop.use_silently fmt (match name with "" -> Stdin | _ -> File name)
#else
Toploop.use_silently fmt name
#endif
Expand Down

0 comments on commit f2f2aef

Please sign in to comment.