Change 'handleFlagWarnings' to throw exceptions instead of dying.
authorThomas Schilling <nominolo@googlemail.com>
Sat, 22 Nov 2008 13:06:58 +0000 (13:06 +0000)
committerThomas Schilling <nominolo@googlemail.com>
Sat, 22 Nov 2008 13:06:58 +0000 (13:06 +0000)
commit1246293616fc45787ecaed13aa31a2555510f7e3
tree2b05b8e556c8c43738e13227bd1191266f7fbca8
parent348370462d762e64354ac430b4f973fcf1cb71dc
Change 'handleFlagWarnings' to throw exceptions instead of dying.

It now uses the standard warning log and error reporting mechanism.
compiler/ghci/InteractiveUI.hs
compiler/main/DriverPipeline.hs
compiler/main/ErrUtils.lhs
compiler/main/GHC.hs
compiler/main/HscTypes.lhs
ghc/Main.hs