parent
b37ead142a
commit
e608977856
|
@ -618,6 +618,11 @@ For a complete description of utop, look at the utop(1) manual page."));
|
||||||
macro;
|
macro;
|
||||||
flush stdout))
|
flush stdout))
|
||||||
|
|
||||||
|
let () =
|
||||||
|
Hashtbl.add Toploop.directive_table "pwd"
|
||||||
|
(Toploop.Directive_none
|
||||||
|
(fun () -> print_endline (Sys.getcwd ())))
|
||||||
|
|
||||||
(* +-----------------------------------------------------------------+
|
(* +-----------------------------------------------------------------+
|
||||||
| Camlp4 |
|
| Camlp4 |
|
||||||
+-----------------------------------------------------------------+ *)
|
+-----------------------------------------------------------------+ *)
|
||||||
|
|
Loading…
Reference in New Issue