more standard local_theory command setup;
authorwenzelm
Sat, 04 Apr 2015 22:22:38 +0200
changeset 59927 251fa1530de1
parent 59926 003dbac78546
child 59928 b9b7f913a19a
child 59929 a090551e5ec8
more standard local_theory command setup;
src/HOL/SPARK/Tools/spark_commands.ML
--- a/src/HOL/SPARK/Tools/spark_commands.ML	Sat Apr 04 22:01:30 2015 +0200
+++ b/src/HOL/SPARK/Tools/spark_commands.ML	Sat Apr 04 22:22:38 2015 +0200
@@ -121,9 +121,9 @@
        (Toplevel.theory o fold add_spark_type_cmd));
 
 val _ =
-  Outer_Syntax.command @{command_spec "spark_vc"}
+  Outer_Syntax.local_theory_to_proof @{command_spec "spark_vc"}
     "enter into proof mode for a specific verification condition"
-    (Parse.name >> (fn name => Toplevel.local_theory_to_proof NONE NONE (prove_vc name)));
+    (Parse.name >> prove_vc);
 
 val _ =
   Outer_Syntax.command @{command_spec "spark_status"}