aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorDavid Waern <davve@dtek.chalmers.se>2007-10-18 22:34:36 +0000
committerDavid Waern <davve@dtek.chalmers.se>2007-10-18 22:34:36 +0000
commit609227fd61e9c0cca2a252ccd250544403357c97 (patch)
tree1043fdf35627bcb79f7c4a880db6681d0890e6c8 /src/Main.hs
parent159ee12636ddade431283a4869a263d8e9ac0768 (diff)
Name changes
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 779da8f2..77bcbdbb 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -104,11 +104,10 @@ main = handleTopExceptions $ do
libDir <- handleEasyFlags flags fileArgs
-- initialize GHC
- let ghcFlags = getGhcFlags flags
- (session, dynflags) <- startGhc libDir ghcFlags
+ (session, dynflags) <- startGhc libDir (ghcFlags flags)
-- get packages via --read-interface
- packages <- readInterfaceFiles (getIfacePairs flags)
+ packages <- readInterfaceFiles (ifacePairs flags)
-- typecheck argument modules using GHC
modules <- typecheckFiles session fileArgs