src/Pure/Isar/local_theory.ML
changeset 36610 bafd82950e24
parent 36451 ddc965e172c4
child 37949 48a874444164
--- a/src/Pure/Isar/local_theory.ML	Mon May 03 07:59:51 2010 +0200
+++ b/src/Pure/Isar/local_theory.ML	Mon May 03 14:25:56 2010 +0200
@@ -181,7 +181,8 @@
   Morphism.binding_morphism (Name_Space.transform_binding (naming_of lthy));
 
 fun target_morphism lthy = standard_morphism lthy (target_of lthy);
-fun global_morphism lthy = standard_morphism lthy (ProofContext.init (ProofContext.theory_of lthy));
+fun global_morphism lthy =
+  standard_morphism lthy (ProofContext.init_global (ProofContext.theory_of lthy));
 
 
 (* primitive operations *)
@@ -270,7 +271,7 @@
 fun exit_result_global f (x, lthy) =
   let
     val thy = exit_global lthy;
-    val thy_ctxt = ProofContext.init thy;
+    val thy_ctxt = ProofContext.init_global thy;
     val phi = standard_morphism lthy thy_ctxt;
   in (f phi x, thy) end;