more precise scope of exception handler;
authorwenzelm
Tue, 02 Mar 2010 22:18:51 +0100
changeset 35424 08c37d7bd2ad
parent 35423 6ef9525a5727
child 35425 d4e747d3a874
more precise scope of exception handler;
src/Pure/Proof/extraction.ML
--- a/src/Pure/Proof/extraction.ML	Mon Mar 01 21:41:35 2010 +0100
+++ b/src/Pure/Proof/extraction.ML	Tue Mar 02 22:18:51 2010 +0100
@@ -207,9 +207,11 @@
   let val thy' = add_syntax thy
   in fn s =>
     let val t = Logic.varify (Syntax.read_prop_global thy' s)
-    in (map Logic.dest_equals (Logic.strip_imp_prems t),
-      Logic.dest_equals (Logic.strip_imp_concl t))
-    end handle TERM _ => error ("Not a (conditional) meta equality:\n" ^ s)
+    in
+      (map Logic.dest_equals (Logic.strip_imp_prems t),
+        Logic.dest_equals (Logic.strip_imp_concl t))
+      handle TERM _ => error ("Not a (conditional) meta equality:\n" ^ s)
+    end
   end;
 
 (** preprocessor **)