X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2FmatitaExcPp.ml;h=8ed2724544acac69f1f5617883ccd454354274d5;hb=a282486b9f5236da5e1fdad4a652533152511975;hp=a314556bd19dfbdca87c6fa1eede5e24bce14ee3;hpb=6809084b2a99a1a7e64d87ca939118f77c07b8b5;p=helm.git diff --git a/helm/software/matita/matitaExcPp.ml b/helm/software/matita/matitaExcPp.ml index a314556bd..8ed272454 100644 --- a/helm/software/matita/matitaExcPp.ml +++ b/helm/software/matita/matitaExcPp.ml @@ -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,significant) -> let loc_descr = match floc with None -> "" @@ -79,7 +79,8 @@ let rec to_string = let (x, y) = HExtlib.loc_of_floc floc in sprintf " at %d-%d" (x+offset) (y+offset) in - "*Error" ^ loc_descr ^ ": " ^ Lazy.force msg) phase) + "*" ^ (if not significant then "(Ignorable) " else "") + ^ "Error" ^ loc_descr ^ ": " ^ Lazy.force msg) phase) in if msg = prev_msg then aux (n+1) (msg,phases@[n]) tl @@ -88,7 +89,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