src/Pure/simplifier.ML
changeset 26425 6561665c5cb1
parent 24509 23ee6b7788c2
child 26435 bdce320cd426
--- a/src/Pure/simplifier.ML	Thu Mar 27 14:41:09 2008 +0100
+++ b/src/Pure/simplifier.ML	Thu Mar 27 14:41:10 2008 +0100
@@ -110,10 +110,10 @@
 val get_simpset = ! o GlobalSimpset.get;
 
 fun change_simpset_of thy f = CRITICAL (fn () => change (GlobalSimpset.get thy) f);
-fun change_simpset f = CRITICAL (fn () => change_simpset_of (ML_Context.the_context ()) f);
+fun change_simpset f = CRITICAL (fn () => change_simpset_of (ML_Context.the_global_context ()) f);
 
 fun simpset_of thy = MetaSimplifier.context (ProofContext.init thy) (get_simpset thy);
-val simpset = simpset_of o ML_Context.the_context;
+val simpset = simpset_of o ML_Context.the_global_context;
 
 
 fun SIMPSET tacf st = tacf (simpset_of (Thm.theory_of_thm st)) st;