diff options
author | 2016-09-29 16:06:43 +0200 | |
---|---|---|
committer | 2017-03-21 15:47:13 +0100 | |
commit | 8f8af9e4ebf1ea1ed15f765196ef5af8a77d3c27 (patch) | |
tree | 0ed33666fbd900f5b0aeff5bfd3096a837ee26e1 /toplevel/coqloop.ml | |
parent | 2617a83e572531e26734cff8b9eb8aa09d49b850 (diff) |
[pp] Prepare for serialization, remove opaque glue.
We also remove flushing operations `msg_with`, now the flushing
responsibility belong to the owner of the formatter.
Diffstat (limited to 'toplevel/coqloop.ml')
-rw-r--r-- | toplevel/coqloop.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toplevel/coqloop.ml b/toplevel/coqloop.ml index 5521e8a40..2cb608326 100644 --- a/toplevel/coqloop.ml +++ b/toplevel/coqloop.ml @@ -13,7 +13,9 @@ open Flags open Vernac open Pcoq -let top_stderr x = msg_with ~pp_tag:Ppstyle.to_format !Pp_control.err_ft x +let top_stderr x = + pp_with ~pp_tag:Ppstyle.to_format !Pp_control.err_ft x; + Format.pp_print_flush !Pp_control.err_ft () (* A buffer for the character read from a channel. We store the command * entered to be able to report errors without pretty-printing. *) |