uniform cert_vars/read_vars;
authorwenzelm
Sun, 20 Nov 2011 16:59:37 +0100
changeset 45597 ce23193a42a4
parent 45596 a27cd85b6028
child 45598 87a2624f57e4
uniform cert_vars/read_vars;
src/Pure/Isar/proof.ML
--- a/src/Pure/Isar/proof.ML	Sun Nov 20 16:58:12 2011 +0100
+++ b/src/Pure/Isar/proof.ML	Sun Nov 20 16:59:37 2011 +0100
@@ -575,13 +575,13 @@
 
 fun gen_fix prep_vars args =
   assert_forward
-  #> map_context (fn ctxt => snd (Proof_Context.add_fixes (prep_vars ctxt args) ctxt))
+  #> map_context (fn ctxt => snd (Proof_Context.add_fixes (fst (prep_vars args ctxt)) ctxt))
   #> put_facts NONE;
 
 in
 
-val fix = gen_fix (K I);
-val fix_cmd = gen_fix (fn ctxt => fn args => fst (Proof_Context.read_vars args ctxt));
+val fix = gen_fix Proof_Context.cert_vars;
+val fix_cmd = gen_fix Proof_Context.read_vars;
 
 end;