src/Pure/ML/ml_context.ML
changeset 25334 db0365e89f5a
parent 25204 36cf92f63a44
child 25346 7f2e3292e3dd
--- a/src/Pure/ML/ml_context.ML	Wed Nov 07 22:20:12 2007 +0100
+++ b/src/Pure/ML/ml_context.ML	Wed Nov 07 22:20:13 2007 +0100
@@ -241,7 +241,7 @@
 val _ = inline_antiq "type_syntax" (type_ true);
 
 fun const syn = (Scan.state >> Context.proof_of) -- Scan.lift Args.name >> (fn (ctxt, c) =>
-  #1 (Term.dest_Const (Consts.read_const (ProofContext.consts_of ctxt) c))
+  #1 (Term.dest_Const (ProofContext.read_const' ctxt c))
   |> syn ? ProofContext.const_syntax_name ctxt
   |> ML_Syntax.print_string);