]> matita.cs.unibo.it Git - helm.git/commitdiff
Sys.Break no longer captured in two places.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 10 May 2012 08:11:13 +0000 (08:11 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 10 May 2012 08:11:13 +0000 (08:11 +0000)
matita/components/ng_tactics/nnAuto.ml

index 29341cb5dd72b3dcf6abd7d7e38d1d7c0a7e3142..b8a3dd44a0af3340efe48830192578eaf3060a32 100644 (file)
@@ -267,6 +267,7 @@ let solve f status eq_cache goal =
                         Lazy.force msg ^
                        "\n in the environment\n" ^ 
                        status#ppmetasenv subst metasenv)); None
+      | Sys.Break as e -> raise e
       | _ -> None
     in
     HExtlib.filter_map build_status
@@ -436,7 +437,9 @@ let close_metasenv status metasenv subst =
            (* prerr_endline (status#ppterm ctx [] [] iterm); *)
            let s_entry = i, ([], ctx, iterm, ty)
            in s_entry::subst,okind::objs
-         with _ -> assert false)
+         with
+            Sys.Break as e -> raise e
+          | _ -> assert false)
       (subst,[]) metasenv
 ;;