We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa3880d commit 4e9b9d1Copy full SHA for 4e9b9d1
src/lib/uTop_main.ml
@@ -608,6 +608,7 @@ let bind_expressions name phrase =
608
| Handling of [@@toplevel_printer] attributes |
609
+-----------------------------------------------------------------+ *)
610
611
+#if OCAML_VERSION >= (4, 04, 0)
612
let execute_phrase =
613
let new_cmis = ref []in
614
@@ -655,6 +656,12 @@ let execute_phrase =
655
656
acknowledge_new_cmis ();
657
res
658
659
+#else
660
+
661
+let execute_phrase = Toploop.execute_phrase
662
663
+#endif
664
665
(* +-----------------------------------------------------------------+
666
| Main loop |
667
0 commit comments