mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-19 16:28:12 +03:00
Restore important flushing?!
This commit is contained in:
parent
067c7b9155
commit
2b0e18f5a8
@ -549,9 +549,13 @@ let debug_format (format : ('a, Format.formatter, unit) format) =
|
||||
else Format.ifprintf Format.std_formatter format
|
||||
|
||||
let error_print format =
|
||||
Format.print_flush ();
|
||||
(* Flushes previous warnings *)
|
||||
Format.eprintf ("%a" ^^ format ^^ "@\n") error_marker ()
|
||||
|
||||
let error_format (format : ('a, Format.formatter, unit) format) =
|
||||
Format.print_flush ();
|
||||
(* Flushes previous warnings *)
|
||||
Format.printf ("%a" ^^ format ^^ "\n%!") error_marker ()
|
||||
|
||||
let warning_print format =
|
||||
|
Loading…
Reference in New Issue
Block a user