From: pepe Date: Sat, 11 Oct 2008 11:47:20 +0000 (+0000) Subject: Fix a typo which was causing ghci to quit on commands errors X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=ae4bf23ecc1552e18623670b12eba6ba81afa711 Fix a typo which was causing ghci to quit on commands errors --- diff --git a/compiler/ghci/InteractiveUI.hs b/compiler/ghci/InteractiveUI.hs index b5d66a1..3b5fde9 100644 --- a/compiler/ghci/InteractiveUI.hs +++ b/compiler/ghci/InteractiveUI.hs @@ -666,7 +666,7 @@ runCommands' eh getCmd = do where printErrorAndKeepGoing err = do GHC.printExceptionAndWarnings err - return True + return False noSpace q = q >>= maybe (return Nothing) (\c->case removeSpaces c of