changed error message in thms_containing
authorclasohm
Mon, 29 May 1995 15:04:27 +0200
changeset 1134 5e9775c196e8
parent 1133 28e312a18946
child 1135 4130371b5b2a
changed error message in thms_containing
src/Pure/Thy/thm_database.ML
--- a/src/Pure/Thy/thm_database.ML	Mon May 29 14:12:48 1995 +0200
+++ b/src/Pure/Thy/thm_database.ML	Mon May 29 15:04:27 1995 +0200
@@ -74,9 +74,10 @@
                                           else (result desc_inter new_thms))
             end;
 
-      val ignored = constants inter ignore;
-  in if null ignored then () else
-       error ("The following constant(s) must not be used for searching the \
-              \theorem database:\n  " ^ commas (map quote ignored));
-     collect constants true [] end;
+      val look_for = constants \\ ignore;
+  in if null look_for then
+       error ("Only ignored constants specified for theorem database search:\n"
+              ^ commas (map quote ignored))
+     else ();
+     collect look_for true [] end;
 end;