[commit: ghc] master: StaticFlags code cleanup (fixes #7595) (a7f9930)

David Terei davidterei at gmail.com
Tue Jan 29 01:12:11 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/a7f9930a24a91cfb5e2579867e5a0b1d83b5a947

>---------------------------------------------------------------

commit a7f9930a24a91cfb5e2579867e5a0b1d83b5a947
Author: Jan Stolarek <jan.stolarek at 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 at 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(-)


Diff suppressed because of size. To see it, use:

    git show a7f9930a24a91cfb5e2579867e5a0b1d83b5a947



More information about the ghc-commits mailing list