From: Claudio Sacerdoti Coen Date: Fri, 26 Jan 2007 13:15:56 +0000 (+0000) Subject: "Warning/error/debug/infos" messages now sent on stderr. X-Git-Tag: 0.4.95@7852~647 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=9fb4a2c39f70e53dfb62537011562bb23db52a4c;p=helm.git "Warning/error/debug/infos" messages now sent on stderr. --- diff --git a/matita/matitaWiki.ml b/matita/matitaWiki.ml index 883cf3284..aea67623e 100644 --- a/matita/matitaWiki.ml +++ b/matita/matitaWiki.ml @@ -201,8 +201,8 @@ let main () = | `Warning -> "
Warn: " ^ msg ^ "

\n" | `Error -> "
Error: " ^ msg ^ "

\n" in - output_string stdout s; - flush stdout + output_string stderr s; + flush stderr ); (* must be called after init since args are set by cmdline parsing *) let system_mode = Helm_registry.get_bool "matita.system" in