src/Pure/meta_simplifier.ML
changeset 27022 f8255a5dc3a8
parent 26939 1035c89b4c02
child 27312 2a884461a9f3
--- a/src/Pure/meta_simplifier.ML	Thu May 29 23:46:43 2008 +0200
+++ b/src/Pure/meta_simplifier.ML	Thu May 29 23:46:45 2008 +0200
@@ -381,7 +381,8 @@
 fun activate_context thy (ss as Simpset ({context = SOME ctxt, ...}, _)) =
       context (Context.transfer_proof (Theory.merge (thy, ProofContext.theory_of ctxt)) ctxt) ss
   | activate_context thy ss =
-     (warning "Simplifier: no proof context in simpset -- fallback to theory context!";
+     (legacy_feature ("Simplifier: no proof context in simpset -- fallback to theory context!" ^
+       Position.str_of (Position.thread_data ()));
       theory_context thy ss);