]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/matitaExcPp.ml
- Disambiguation error exception enriched with more information
[helm.git] / helm / software / matita / matitaExcPp.ml
index f378e99b0e0c54d65d8528506a71c5a8ce630955..a314556bd19dfbdca87c6fa1eede5e24bce14ee3 100644 (file)
@@ -71,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 -> ""
@@ -88,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