aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/coqloop.ml
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-10-11 22:32:09 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-10-17 20:14:13 +0200
commit9603b9996c717b52e95626ea69fe9b05a89f4738 (patch)
treebdab5105305b2a349d8ef1a8ca837f155e0f08a2 /toplevel/coqloop.ml
parent3c4a8dffc3ad01ce170aac2043fd2e40db4449bf (diff)
Vernac.ml: parenthesizing a side-effect.
Moving set_formatter_out_channel where it naturally closes the corresponding opening set_formatter_output_functions.
Diffstat (limited to 'toplevel/coqloop.ml')
-rw-r--r--toplevel/coqloop.ml1
1 files changed, 0 insertions, 1 deletions
diff --git a/toplevel/coqloop.ml b/toplevel/coqloop.ml
index 08c3fe205..ea7539fce 100644
--- a/toplevel/coqloop.ml
+++ b/toplevel/coqloop.ml
@@ -308,7 +308,6 @@ let do_vernac () =
else Feedback.msg_error (str"There is no ML toplevel.")
| any ->
let any = CErrors.push any in
- Format.set_formatter_out_channel stdout;
let msg = print_toplevel_error any ++ fnl () in
pp_with ~pp_tag:Ppstyle.pp_tag !Pp_control.std_ft msg;
Format.pp_print_flush !Pp_control.std_ft ()