From: andy Date: Thu, 19 Jul 2001 08:28:59 +0000 (+0000) Subject: [project @ 2001-07-19 08:28:59 by andy] X-Git-Tag: Approximately_9120_patches~1512 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=761af91eb2b24770ff549ba75ad8e589e1657942;p=ghc-hetmet.git [project @ 2001-07-19 08:28:59 by andy] import of hscThing needs to be conditional on GHCi status. --- diff --git a/ghc/compiler/compMan/CompManager.lhs b/ghc/compiler/compMan/CompManager.lhs index a229e2c..107fe7d 100644 --- a/ghc/compiler/compMan/CompManager.lhs +++ b/ghc/compiler/compMan/CompManager.lhs @@ -41,7 +41,11 @@ import DriverFlags ( getDynFlags ) import DriverPhases import DriverUtil import Finder +#ifdef GHCI import HscMain ( initPersistentCompilerState, hscThing ) +#else +import HscMain ( initPersistentCompilerState ) +#endif import HscTypes import RnEnv ( unQualInScope ) import Id ( idType, idName )