From: Claudio Sacerdoti Coen Date: Tue, 22 Nov 2005 09:42:56 +0000 (+0000) Subject: Error messages improved. X-Git-Tag: V_0_7_2_3~7 X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=commitdiff_plain;h=b3c92c2aef3c10264923b6a280df5cc6a79e3c35 Error messages improved. --- diff --git a/helm/matita/matitaExcPp.ml b/helm/matita/matitaExcPp.ml index 34da22c40..3ad6da153 100644 --- a/helm/matita/matitaExcPp.ml +++ b/helm/matita/matitaExcPp.ml @@ -61,10 +61,12 @@ let to_string = [] -> "" | phase::tl -> aux (n+1) tl ^ - "** Errors obtained during phase " ^ string_of_int n ^": **\n" ^ - String.concat "\n" (List.map Lazy.force phase) ^ "\n" ^ "\n" + "***** Errors obtained during phase " ^ string_of_int n ^": *****\n"^ + String.concat "\n\n" + (List.map (fun msg -> "*Error: " ^ Lazy.force msg) phase) ^ + "\n\n\n" in - "*** DISAMBIGUATION ERROR: ***\n" ^ + "********** DISAMBIGUATION ERRORS: **********\n" ^ aux 1 errorll | exn -> "Uncaught exception: " ^ Printexc.to_string exn