src/Pure/Proof/extraction.ML
changeset 42360 da8817d01e7c
parent 40844 5895c525739d
child 42375 774df7c59508
--- a/src/Pure/Proof/extraction.ML	Sat Apr 16 15:25:25 2011 +0200
+++ b/src/Pure/Proof/extraction.ML	Sat Apr 16 15:47:52 2011 +0200
@@ -162,9 +162,9 @@
 
 fun read_term thy T s =
   let
-    val ctxt = ProofContext.init_global thy
+    val ctxt = Proof_Context.init_global thy
       |> Proof_Syntax.strip_sorts_consttypes
-      |> ProofContext.set_defsort [];
+      |> Proof_Context.set_defsort [];
     val parse = if T = propT then Syntax.parse_prop else Syntax.parse_term;
   in parse ctxt s |> Type.constraint T |> Syntax.check_term ctxt end;