]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaExcPp.ml
- LexiconAst merged into GrafiteAst
[helm.git] / matita / matita / matitaExcPp.ml
index fe013421dbbbe10f64dd9f2100f5a83458146bc2..a36a723ae6ca20a5781806ee2da6ef5edd0277a6 100644 (file)
@@ -114,14 +114,15 @@ let compact_disambiguation_errors all_passes errorll =
 
 let rec to_string = 
   function
-  | HExtlib.Localized (floc,exn) ->
+    HExtlib.Localized (floc,exn) ->
       let _,msg = to_string exn in
       let (x, y) = HExtlib.loc_of_floc floc in
        Some floc, sprintf "Error at %d-%d: %s" x y msg
+  | NCicLibrary.IncludedFileNotCompiled (s1,s2) ->
+      None, "Including: "^s1^" "^s2^ "\nNothing to do... did you run matitadep?"
   | GrafiteTypes.Command_error msg -> None, "Error: " ^ msg
   | CicNotationParser.Parse_error err ->
       None, sprintf "Parse error: %s" err
-  | UriManager.IllFormedUri uri -> None, sprintf "invalid uri: %s" uri
   | Unix.Unix_error (code, api, param) ->
       let err = Unix.error_message code in
       None, "Unix Error (" ^ api ^ "): " ^ err
@@ -157,8 +158,6 @@ let rec to_string =
      None, "NCicUnification failure: " ^ Lazy.force msg
   | NCicUnification.Uncertain msg ->
      None, "NCicUnification uncertain: " ^ Lazy.force msg
-  | LibrarySync.AlreadyDefined s -> 
-     None, "Already defined: " ^ UriManager.string_of_uri s
   | DisambiguateChoices.Choice_not_found msg ->
      None, ("Disambiguation choice not found: " ^ Lazy.force msg)
   | MatitaEngine.EnrichedWithStatus (exn,_) ->