summaryrefslogtreecommitdiff
path: root/ghc/compiler/main/DriverPipeline.hs
diff options
context:
space:
mode:
authorsimonmar <unknown>2005-03-30 16:24:05 +0000
committersimonmar <unknown>2005-03-30 16:24:05 +0000
commit6720aae478aeffab9d93b33b76e8718130cd4a7b (patch)
tree2076b6118f0b51e7abce735da561c6fd39148c8a /ghc/compiler/main/DriverPipeline.hs
parent34bfc56e5f2c5374bcc4f67fbd0692f0c14fe029 (diff)
downloadhaskell-6720aae478aeffab9d93b33b76e8718130cd4a7b.tar.gz
[project @ 2005-03-30 16:24:04 by simonmar]
Add support for partial reloads in the GHC API. This is mainly for VS: when editing a file you don't want to continually reload the entire project whenever the current file changes, you want to reload up to and including the current file only. However, you also want to retain any other modules in the session that are still stable. I added a variant of :reload in GHCi to test this. You can say ':reload M' to reload up to module M only. This will bring M up to date, and throw away any invalidated modules from the session.
Diffstat (limited to 'ghc/compiler/main/DriverPipeline.hs')
-rw-r--r--ghc/compiler/main/DriverPipeline.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/ghc/compiler/main/DriverPipeline.hs b/ghc/compiler/main/DriverPipeline.hs
index fea665167d..75c266117b 100644
--- a/ghc/compiler/main/DriverPipeline.hs
+++ b/ghc/compiler/main/DriverPipeline.hs
@@ -20,7 +20,9 @@ module DriverPipeline (
link,
-- DLL building
- doMkDLL
+ doMkDLL,
+
+ matchOptions, -- used in module GHC
) where
#include "HsVersions.h"