src/Pure/library.ML
changeset 3365 86c0d1988622
parent 3246 7f783705c7a4
child 3393 e31ac367387e
--- a/src/Pure/library.ML	Tue May 27 17:49:52 1997 +0200
+++ b/src/Pure/library.ML	Fri May 30 15:14:59 1997 +0200
@@ -747,7 +747,9 @@
 		            (TextIO.stdOut, "\n*** " ^ s ^ "\n\n"));
 
 exception ERROR;
-fun error msg = (!error_fn msg; raise ERROR);
+fun error msg = (!error_fn msg;
+		 TextIO.flushOut TextIO.stdOut; 
+		 raise ERROR);
 fun sys_error msg = (!error_fn "*** SYSTEM ERROR ***"; error msg);
 
 fun assert p msg = if p then () else error msg;