simonmar 2005/10/25 05:48:35 PDT
Modified files:
ghc/compiler/coreSyn CoreLint.lhs
ghc/compiler/deSugar Desugar.lhs
ghc/compiler/ghci InteractiveUI.hs Linker.lhs
ghc/compiler/main CodeOutput.lhs DriverMkDepend.hs
DriverPipeline.hs DynFlags.hs
ErrUtils.lhs GHC.hs HscMain.lhs Main.hs
Packages.lhs SysTools.lhs
ghc/compiler/typecheck TcRnMonad.lhs
ghc/compiler/utils Outputable.lhs
Log:
Two changes from Krasimir Angelov, which were required for Visual
Haskell:
- messaging cleanup throughout the compiler. DynFlags has a new
field:
log_action :: Severity -> SrcSpan -> PprStyle -> Message -> IO ()
this action is invoked for every message generated by the
compiler. This means a client of the GHC API can direct messages to
any destination, or collect them up in an IORef for later
perusal.
This replaces previous hacks to redirect messages in the GHC API
(hence some changes to function types in GHC.hs).
- The JustTypecheck mode of GHC now does what it says. It doesn't
run any of the compiler passes beyond the typechecker for each module,
but does generate the ModIface in order that further modules can be
typechecked.
And one change from me:
- implement the LANGUAGE pragma, finally
Revision Changes Path
1.92 +2 -2 fptools/ghc/compiler/coreSyn/CoreLint.lhs
1.90 +13 -10 fptools/ghc/compiler/deSugar/Desugar.lhs
1.218 +1 -2 fptools/ghc/compiler/ghci/InteractiveUI.hs
1.63 +3 -6 fptools/ghc/compiler/ghci/Linker.lhs
1.62 +1 -1 fptools/ghc/compiler/main/CodeOutput.lhs
1.54 +3 -3 fptools/ghc/compiler/main/DriverMkDepend.hs
1.209 +59 -32 fptools/ghc/compiler/main/DriverPipeline.hs
1.14 +16 -4 fptools/ghc/compiler/main/DynFlags.hs
1.59 +56 -41 fptools/ghc/compiler/main/ErrUtils.lhs
1.47 +53 -68 fptools/ghc/compiler/main/GHC.hs
1.226 +32 -30 fptools/ghc/compiler/main/HscMain.lhs
1.156 +2 -1 fptools/ghc/compiler/main/Main.hs
1.47 +8 -7 fptools/ghc/compiler/main/Packages.lhs
1.134 +107 -10 fptools/ghc/compiler/main/SysTools.lhs
1.60 +6 -4 fptools/ghc/compiler/typecheck/TcRnMonad.lhs
1.70 +1 -1 fptools/ghc/compiler/utils/Outputable.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc