]> matita.cs.unibo.it Git - helm.git/commitdiff
setting goal doesn't change history status
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 12 Oct 2004 20:56:45 +0000 (20:56 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Tue, 12 Oct 2004 20:56:45 +0000 (20:56 +0000)
helm/ocaml/tactics/statefulProofEngine.ml

index 13c1ac5144f66eee541a410072ccef2ccb223063..f75442922d0bc52bb7f27cdf5d08a96e97f85ede 100644 (file)
@@ -94,6 +94,8 @@ class ['a] status
       _data <- data
 
     method set_goal goal =
+      _goal <- Some goal
+(*
       let old_internal_status = self#internal_status in
       _goal <- Some goal;
       try
@@ -103,6 +105,7 @@ class ['a] status
       with (Data_failure _) as exn ->
         self#set_internal_status old_internal_status;
         raise exn
+*)
 
     method uri      = let (uri, _, _, _)      = _proof in uri
     method metasenv = let (_, metasenv, _, _) = _proof in metasenv