]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaExcPp.ml
removed no longer used METAs
[helm.git] / helm / matita / matitaExcPp.ml
index e9e7f488f3ff731c1d9e3ff0fc496f2d9a18a56b..28f25fd5c53a0dd5c185fe3dac5696f5dcbd3046 100644 (file)
@@ -23,6 +23,8 @@
  * http://helm.cs.unibo.it/
  *)
 
+(* $Id$ *)
+
 open Printf
 
 let rec to_string = 
@@ -44,16 +46,11 @@ let rec to_string =
   | Unix.Unix_error (code, api, param) ->
       let err = Unix.error_message code in
       None, "Unix Error (" ^ api ^ "): " ^ err
-  | GrafiteMarshal.Corrupt_moo fname ->
-      None, sprintf ".moo file '%s' is corrupt (shorter than expected)" fname
-  | GrafiteMarshal.Checksum_failure fname ->
-      None,
-       sprintf "checksum failed for .moo file '%s', please recompile it'" fname
-  | GrafiteMarshal.Version_mismatch fname ->
+  | HMarshal.Corrupt_file fname -> None, sprintf "file '%s' is corrupt" fname
+  | HMarshal.Format_mismatch fname
+  | HMarshal.Version_mismatch fname ->
       None,
-      sprintf
-        (".moo file '%s' has been compiled by a different version of matita, "
-        ^^ "please recompile it")
+      sprintf "format/version mismatch for file '%s', please recompile it'"
         fname
   | ProofEngineTypes.Fail msg -> None, "Tactic error: " ^ Lazy.force msg
   | Continuationals.Error s -> None, "Tactical error: " ^ Lazy.force s