projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialise Settings before DynFlags
[ghc-hetmet.git]
/
ghc
/
Main.hs
diff --git
a/ghc/Main.hs
b/ghc/Main.hs
index
15327f8
..
12d8dd2
100644
(file)
--- a/
ghc/Main.hs
+++ b/
ghc/Main.hs
@@
-78,7
+78,8
@@
import Data.Maybe
main :: IO ()
main = do
hSetBuffering stdout NoBuffering
main :: IO ()
main = do
hSetBuffering stdout NoBuffering
- GHC.defaultErrorHandler defaultDynFlags $ do
+ let defaultErrorHandlerDynFlags = defaultDynFlags (panic "No settings")
+ GHC.defaultErrorHandler defaultErrorHandlerDynFlags $ do
-- 1. extract the -B flag from the args
argv0 <- getArgs
-- 1. extract the -B flag from the args
argv0 <- getArgs