X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2FmatitaExcPp.ml;h=42777735c2b96d4f9d4a6c2d26fb6783cf64417f;hb=84dbeab0a11aed6afb529b884bd796dec644c949;hp=c3c78929ff8e978eae839c1cf7cf677940df4778;hpb=90c820123fc27fb7e57bd8b537a99d35f9de9a31;p=helm.git diff --git a/matita/matitaExcPp.ml b/matita/matitaExcPp.ml index c3c78929f..42777735c 100644 --- a/matita/matitaExcPp.ml +++ b/matita/matitaExcPp.ml @@ -56,7 +56,8 @@ let rec to_string = | Continuationals.Error s -> None, "Tactical error: " ^ Lazy.force s | ProofEngineHelpers.Bad_pattern msg -> None, "Bad pattern: " ^ Lazy.force msg - | CicRefine.RefineFailure msg -> + | CicRefine.RefineFailure msg + | CicRefine.AssertFailure msg -> None, "Refiner error: " ^ Lazy.force msg | CicTypeChecker.TypeCheckerFailure msg -> None, "Type checking error: " ^ Lazy.force msg @@ -95,10 +96,7 @@ let rec to_string = let (x, y) = HExtlib.loc_of_floc floc in let x = x + offset in let y = y + offset in - let flocb,floce = floc in - let floc = - {flocb with Lexing.pos_cnum = x}, {floce with Lexing.pos_cnum = y} - in + let floc = HExtlib.floc_of_loc (x,y) in Some floc | _ -> None in let rec explain =