fixed incompatibility of add_to_parents with SML109's new Io exceptions
authorclasohm
Fri, 22 Mar 1996 12:06:08 +0100
changeset 1602 699ad6611c1e
parent 1601 0ef6ea27ab15
child 1603 44bc1417b07c
fixed incompatibility of add_to_parents with SML109's new Io exceptions
src/Pure/Thy/thy_read.ML
--- a/src/Pure/Thy/thy_read.ML	Thu Mar 21 13:02:26 1996 +0100
+++ b/src/Pure/Thy/thy_read.ML	Fri Mar 22 12:06:08 1996 +0100
@@ -671,9 +671,9 @@
 
                 val fname = tack_on path ("." ^ t ^ "_sub.html");
                 val out = if file_exists fname then
-                            open_append fname  handle Io s =>
-                              (warning ("Unable to write to file ." ^
-                                        fname); raise Io s)
+                            open_append fname  handle e  =>
+                              (warning ("Unable to write to file " ^
+                                        fname); raise e)
                           else raise MK_HTML;
             in output (out,
                  " |\n \\__<A HREF=\"" ^