Commit daa4b9df authored by simonmar's avatar simonmar
Browse files

[project @ 2003-07-16 13:33:55 by simonmar]

Put a newline after showing an I/O error.
parent c2e52617
{-# OPTIONS -fno-warn-incomplete-patterns -optc-DNON_POSIX_SOURCE #-}
-----------------------------------------------------------------------------
-- $Id: Main.hs,v 1.128 2003/06/27 18:28:33 sof Exp $
-- $Id: Main.hs,v 1.129 2003/07/16 13:33:55 simonmar Exp $
--
-- GHC Driver program
--
......@@ -97,7 +97,7 @@ main =
hFlush stdout
case exception of
-- an IO exception probably isn't our fault, so don't panic
IOException _ -> hPutStr stderr (show exception)
IOException _ -> hPutStrLn stderr (show exception)
AsyncException StackOverflow ->
hPutStrLn stderr "stack overflow: use +RTS -K<size> \
\to increase it"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment