]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matitaExcPp.ml
1. bug fixed: Unicode characters that are not mapped to TeX macros used to
[helm.git] / matita / matitaExcPp.ml
index ed0be49564d641e53743df560a337e7bf0e9181c..a314556bd19dfbdca87c6fa1eede5e24bce14ee3 100644 (file)
@@ -62,6 +62,8 @@ let rec to_string =
      None, "Type checking assertion failed: " ^ Lazy.force msg
   | LibrarySync.AlreadyDefined s -> 
      None, "Already defined: " ^ UriManager.string_of_uri s
+  | CoercDb.EqCarrNotImplemented msg ->
+     None, ("EqCarrNotImplemented: " ^ Lazy.force msg)
   | GrafiteDisambiguator.DisambiguationError (offset,errorll) ->
      let rec aux n ?(dummy=false) (prev_msg,phases) =
       function
@@ -69,7 +71,7 @@ let rec to_string =
        | phase::tl ->
           let msg =
            String.concat "\n\n\n"
-            (List.map (fun (floc,msg) ->
+            (List.map (fun (_,_,floc,msg) ->
               let loc_descr =
                match floc with
                   None -> ""
@@ -86,7 +88,7 @@ let rec to_string =
              (aux (n+1) (msg,[n]) tl) in
      let loc =
       match errorll with
-         ((Some floc,_)::_)::_ ->
+         ((_,_,Some floc,_)::_)::_ ->
           let (x, y) = HExtlib.loc_of_floc floc in
           let x = x + offset in
           let y = y + offset in