diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-26 15:56:12 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-26 15:56:12 +0000 |
commit | fb9d3922c8ccc9b3f7138a821ffb635e6c65b149 (patch) | |
tree | 91d27f85f066a7f40408d2ba84853fb38aa6eac4 /ghc/Main.hs | |
parent | 6e5eafac797562bc2a72068dd27f19adc75bdb41 (diff) | |
download | haskell-fb9d3922c8ccc9b3f7138a821ffb635e6c65b149.tar.gz |
Separate the static flag parser from the static global variables
This allows us to avoid a module import loop:
CmdLineParser -> SrcLoc -> Outputable -> StaticFlags -> CmdLineParser
Diffstat (limited to 'ghc/Main.hs')
-rw-r--r-- | ghc/Main.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs index 840f84341d..a974716836 100644 --- a/ghc/Main.hs +++ b/ghc/Main.hs @@ -35,6 +35,7 @@ import Packages ( dumpPackages ) import DriverPhases ( Phase(..), isSourceFilename, anyHsc, startPhase, isHaskellSrcFilename ) import StaticFlags +import StaticFlagParser import DynFlags import BasicTypes ( failed ) import ErrUtils |