]> matita.cs.unibo.it Git - helm.git/commitdiff
Error messages improved.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 22 Nov 2005 09:42:56 +0000 (09:42 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 22 Nov 2005 09:42:56 +0000 (09:42 +0000)
helm/matita/matitaExcPp.ml

index 34da22c4012f6a0167e2a2bbbdfaaa7593351a96..3ad6da153095dac5c56a026a084e1aabb147342c 100644 (file)
@@ -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