]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/matitaExcPp.ml
New exception considered.
[helm.git] / helm / software / matita / matitaExcPp.ml
index 17cc7c9422f8444ef3f4f2068118ac4e094a392a..13eeaafeda9e937ca5c2b5fc1d6cb287a9ee2311 100644 (file)
@@ -140,6 +140,14 @@ let rec to_string =
   | CicRefine.RefineFailure msg
   | CicRefine.AssertFailure msg ->
      None, "Refiner error: " ^ Lazy.force msg
+  | NCicRefiner.RefineFailure msg ->
+     None, "NRefiner failure: " ^ snd (Lazy.force msg)
+  | NCicRefiner.AssertFailure msg ->
+     None, "NRefiner assert failure: " ^ Lazy.force msg
+  | NCicEnvironment.BadDependency msg ->
+     None, "NCicEnvironment bad dependency: " ^ Lazy.force msg
+  | NCicEnvironment.BadConstraint msg ->
+     None, "NCicEnvironment bad constraint: " ^ Lazy.force msg
   | CicTypeChecker.TypeCheckerFailure msg ->
      None, "Type checking error: " ^ Lazy.force msg
   | CicTypeChecker.AssertFailure msg ->
@@ -150,7 +158,7 @@ let rec to_string =
      None, ("Disambiguation choice not found: " ^ Lazy.force msg)
   | MatitaEngine.EnrichedWithLexiconStatus (exn,_) ->
      None, "EnrichedWithLexiconStatus "^snd(to_string exn)
-  | GrafiteDisambiguator.DisambiguationError (offset,errorll) ->
+  | MultiPassDisambiguator.DisambiguationError (offset,errorll) ->
      let loc =
       match errorll with
         | ((_,_,loc_msg,_)::_)::_ ->