]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_engine/grafiteEngine.ml
Fixes a bug which caused Meta_not_found exceptions to be raised after qed-ing a
[helm.git] / matita / components / grafite_engine / grafiteEngine.ml
index 54850f1126b707ca0d765809fea7573d0fe4b0e9..5086eb845c6424574c565f8471ecc96b216bac14 100644 (file)
@@ -663,6 +663,9 @@ let rec eval_ncommand ~include_paths opts status (text,prefix_len,cmd) =
             | _ -> status)
          else
           status in
+        (* purge tinycals stack *)
+        let ninitial_stack = Continuationals.Stack.of_nmetasenv [] in
+        let status = status#set_stack ninitial_stack in
 (*
          try 
            index_eq uri status