X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2FmatitaExcPp.ml;h=126b78b89fc6702d08eff63a14a1708d172c64d9;hb=be8d8e78f342e13043ef659d5f9f944d343325f4;hp=a2da0c3e0d99eedeef5cd2c0d4afc07df83e9304;hpb=dcdbb979433a61e2ef2842d96604098728824416;p=helm.git diff --git a/helm/software/matita/matitaExcPp.ml b/helm/software/matita/matitaExcPp.ml index a2da0c3e0..126b78b89 100644 --- a/helm/software/matita/matitaExcPp.ml +++ b/helm/software/matita/matitaExcPp.ml @@ -169,8 +169,10 @@ let rec to_string = None, ("Disambiguation choice not found: " ^ Lazy.force msg) | MatitaEngine.EnrichedWithStatus (exn,_) -> None, "EnrichedWithStatus "^snd(to_string exn) - | NTacStatus.Error msg -> - None, "NTactic error: " ^ Lazy.force msg + | NTacStatus.Error (msg,None) -> + None, "NTactic error: " ^ Lazy.force msg + | NTacStatus.Error (msg,Some exn) -> + None, "NTactic error: " ^ Lazy.force msg ^ "\n" ^ snd(to_string exn) | MultiPassDisambiguator.DisambiguationError (offset,errorll) -> let loc = match errorll with