X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2FMain.hs;fp=ghc%2FMain.hs;h=df90857fbbb457805cd15d4849a7aa9a0e011b53;hb=9a4607c35c107bca78f08f7e57896044c66118be;hp=06a5cebd921b29f4be50625bd47604564638c390;hpb=41fd413684f4dba0259fefffa41c9c9eac2f629a;p=ghc-hetmet.git diff --git a/ghc/Main.hs b/ghc/Main.hs index 06a5ceb..df90857 100644 --- a/ghc/Main.hs +++ b/ghc/Main.hs @@ -16,7 +16,8 @@ module Main (main) where import qualified GHC import GHC ( DynFlags(..), HscTarget(..), GhcMode(..), GhcLink(..), - LoadHowMuch(..), dopt, DynFlag(..) ) + LoadHowMuch(..), dopt, DynFlag(..), + defaultCallbacks ) import CmdLineParser -- Implementations of the various modes (--show-iface, mkdependHS. etc.) @@ -515,7 +516,7 @@ doMake srcs = do doShowIface :: DynFlags -> FilePath -> IO () doShowIface dflags file = do - hsc_env <- newHscEnv dflags + hsc_env <- newHscEnv defaultCallbacks dflags showIface hsc_env file -- ---------------------------------------------------------------------------