#7595: Static flags code needs cleanup -----------------------------+---------------------------------------------- Reporter: jstolarek | Owner: jstolarek Type: task | Status: patch Priority: normal | Component: Driver Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- Comment(by jan.stolarek@…): commit a7f9930a24a91cfb5e2579867e5a0b1d83b5a947 {{{ Author: Jan Stolarek <jan.stolarek@p.lodz.pl> Date: Wed Jan 16 14:21:07 2013 +0100 StaticFlags code cleanup (fixes #7595) Function responsible for parsing the static flags, that were spread across two modules (StaticFlags and StaticFlagParser), are now in one file. This is analogous to dynamic flags parsing, which is also contained within a single module. Signed-off-by: David Terei <davidterei@gmail.com> compiler/ghc.cabal.in | 1 - compiler/main/DynFlags.hs | 22 +++- compiler/main/DynFlags.hs-boot | 8 +- compiler/main/GHC.hs | 5 +- compiler/main/StaticFlagParser.hs | 151 ----------------------- compiler/main/StaticFlags.hs | 241 ++++++++++++++++++++++++++----------- compiler/main/StaticFlags.hs-boot | 4 + compiler/utils/Outputable.lhs | 5 +- ghc/Main.hs | 1 - 9 files changed, 204 insertions(+), 234 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7595#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler