Separate the static flag parser from the static global variables
authorIan Lynagh <igloo@earth.li>
Tue, 26 Aug 2008 15:56:12 +0000 (15:56 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 26 Aug 2008 15:56:12 +0000 (15:56 +0000)
commitfb9d3922c8ccc9b3f7138a821ffb635e6c65b149
tree91d27f85f066a7f40408d2ba84853fb38aa6eac4
parent6e5eafac797562bc2a72068dd27f19adc75bdb41
Separate the static flag parser from the static global variables
This allows us to avoid a module import loop:
CmdLineParser -> SrcLoc -> Outputable -> StaticFlags -> CmdLineParser
compiler/ghc.cabal
compiler/main/GHC.hs
compiler/main/StaticFlagParser.hs [new file with mode: 0644]
compiler/main/StaticFlags.hs
ghc/Main.hs