--- a/src/Pure/goals.ML Thu Sep 25 12:09:41 1997 +0200
+++ b/src/Pure/goals.ML Thu Sep 25 12:10:07 1997 +0200
@@ -329,7 +329,7 @@
None => error"by: tactic failed"
| Some(th2,ths2) =>
(if eq_thm(th,th2)
- then writeln "Warning: same as previous level"
+ then warning "Warning: same as previous level"
else if eq_thm_sg(th,th2) then ()
else writeln ("Warning: signature of proof state has changed" ^
sign_error (#sign(rep_thm th), #sign(rep_thm th2)));
@@ -351,9 +351,9 @@
None => (writeln"Going back a level..."; backtrack pairs)
| Some(th2,thstr2) =>
(if eq_thm(th,th2)
- then writeln "Warning: same as previous choice at this level"
+ then warning "Warning: same as previous choice at this level"
else if eq_thm_sg(th,th2) then ()
- else writeln "Warning: signature of proof state has changed";
+ else warning "Warning: signature of proof state has changed";
(th2,thstr2)::pairs));
fun back() = setstate (backtrack (getstate()));