src/Pure/old_goals.ML
changeset 22826 0f4c501a691e
parent 22675 acf10be7dcca
child 23239 3648e97da60b
--- a/src/Pure/old_goals.ML	Mon Apr 30 13:22:35 2007 +0200
+++ b/src/Pure/old_goals.ML	Mon Apr 30 13:32:58 2007 +0200
@@ -152,7 +152,7 @@
 *)
 fun prepare_proof atomic rths chorn =
   let
-      val _ = warning "Obsolete goal command encountered";
+      val _ = legacy_feature "old goal command";
       val {thy, t=horn,...} = rep_cterm chorn;
       val _ = Term.no_dummy_patterns horn handle TERM (msg, _) => error msg;
       val (As, B) = Logic.strip_horn horn;
@@ -373,7 +373,7 @@
 (*simple version with minimal amount of checking and postprocessing*)
 fun simple_prove_goal_cterm G f =
   let
-    val _ = warning "Obsolete goal command encountered";
+    val _ = legacy_feature "old goal command";
     val As = Drule.strip_imp_prems G;
     val B = Drule.strip_imp_concl G;
     val asms = map Assumption.assume As;