X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fmatita%2FmatitaExcPp.ml;h=2d6d1cd17187b0c5928bbb67b4c7b0f668b883a4;hb=d7f32114f3806b51c2ee483dcb5a86e08d086a72;hp=2278e8eb0a32a0b720ce243d8cc0c47e1a5488e4;hpb=e8b02b0b19274bb9c486987e401d637dc045b272;p=helm.git diff --git a/helm/software/matita/matitaExcPp.ml b/helm/software/matita/matitaExcPp.ml index 2278e8eb0..2d6d1cd17 100644 --- a/helm/software/matita/matitaExcPp.ml +++ b/helm/software/matita/matitaExcPp.ml @@ -148,8 +148,9 @@ let rec to_string = None, "NTypeChecker assert failure: " ^ Lazy.force msg | NCicRefiner.AssertFailure msg -> None, "NRefiner assert failure: " ^ Lazy.force msg - | NCicEnvironment.BadDependency msg -> - None, "NCicEnvironment bad dependency: " ^ Lazy.force msg + | NCicEnvironment.BadDependency (msg,e) -> + None, "NCicEnvironment bad dependency: " ^ Lazy.force msg ^ + snd (to_string e) | NCicEnvironment.BadConstraint msg -> None, "NCicEnvironment bad constraint: " ^ Lazy.force msg | CicTypeChecker.TypeCheckerFailure msg -> @@ -162,6 +163,8 @@ let rec to_string = None, ("Disambiguation choice not found: " ^ Lazy.force msg) | MatitaEngine.EnrichedWithLexiconStatus (exn,_) -> None, "EnrichedWithLexiconStatus "^snd(to_string exn) + | NTacStatus.Error msg -> + None, "NTactic error: " ^ Lazy.force msg | MultiPassDisambiguator.DisambiguationError (offset,errorll) -> let loc = match errorll with