projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe5459
)
Fix catching exit exceptions in ghc -e
author
Ian Lynagh
<igloo@earth.li>
Sun, 20 Jan 2008 17:02:36 +0000
(17:02 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 20 Jan 2008 17:02:36 +0000
(17:02 +0000)
compiler/ghci/InteractiveUI.hs
patch
|
blob
|
history
diff --git
a/compiler/ghci/InteractiveUI.hs
b/compiler/ghci/InteractiveUI.hs
index
fdf32dc
..
9bba141
100644
(file)
--- a/
compiler/ghci/InteractiveUI.hs
+++ b/
compiler/ghci/InteractiveUI.hs
@@
-608,7
+608,7
@@
runCommands' eh getCmd = do
Nothing -> return ()
Just c -> do
b <- ghciHandle eh (doCommand c)
- if b then return () else runCommands getCmd
+ if b then return () else runCommands' eh getCmd
where
noSpace q = q >>= maybe (return Nothing)
(\c->case removeSpaces c of