src/HOL/Import/proof_kernel.ML
changeset 32180 37800cb1d378
parent 32174 9036cc8ae775
child 32432 64f30bdd3ba1
--- a/src/HOL/Import/proof_kernel.ML	Fri Jul 24 22:17:32 2009 +0200
+++ b/src/HOL/Import/proof_kernel.ML	Fri Jul 24 22:31:27 2009 +0200
@@ -245,7 +245,8 @@
 
 fun prth th = writeln (PrintMode.setmp [] Display.string_of_thm_without_context th)
 fun prc ct = writeln (PrintMode.setmp [] Display.string_of_cterm ct)
-fun prin t = writeln (PrintMode.setmp [] (fn () => Syntax.string_of_term_global (OldGoals.the_context ()) t) ());
+fun prin t = writeln (PrintMode.setmp []
+  (fn () => Syntax.string_of_term (ML_Context.the_local_context ()) t) ());
 fun pth (HOLThm(ren,thm)) =
     let
         (*val _ = writeln "Renaming:"