]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_proof_checking/cicReductionMachine.ml
debug prints on stderr
[helm.git] / helm / ocaml / cic_proof_checking / cicReductionMachine.ml
index 4e92e6ebc9f2586b4356befdb71927cdb3a926a1..8c1c5017daa6ee5b53877bc7269f49a45fca6675 100644 (file)
@@ -41,10 +41,7 @@ let debug t env s =
    CicPp.ppobj (C.Variable ("DEBUG", None, t, [])) ^ "\n" ^ i
  in
   if !fdebug = 0 then
-   begin
-    print_endline (s ^ "\n" ^ List.fold_right debug_aux (t::env) "") ;
-    flush stdout
-   end
+   prerr_endline (s ^ "\n" ^ List.fold_right debug_aux (t::env) "")
 ;;
 
 module type Strategy =