changeset 26504 | 6e87c0a60104 |
parent 26385 | ae7564661e76 |
child 26884 | 67c54c53da28 |
--- a/src/Pure/ML-Systems/polyml_old_compiler4.ML Mon Mar 31 23:08:54 2008 +0200 +++ b/src/Pure/ML-Systems/polyml_old_compiler4.ML Mon Mar 31 23:08:55 2008 +0200 @@ -29,6 +29,6 @@ fun use_file tune output verbose name = let val instream = TextIO.openIn name; - val txt = TextIO.inputAll instream before TextIO.closeIn instream; + val txt = Exn.release (Exn.capture TextIO.inputAll instream before TextIO.closeIn instream); in use_text tune (1, name) output verbose txt end;