diff options
author | Ian Lynagh <igloo@earth.li> | 2011-05-08 16:13:33 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-05-08 16:13:33 +0100 |
commit | d45197aabb22178066a8ec50d29331786a0c518c (patch) | |
tree | feac564466e2d1182b8d0ee7691580f564cf5b17 /compiler/main/DynFlags.hs | |
parent | c5f7496604b096277e3ba57fcb6ed85422613c75 (diff) | |
parent | daead6bf93cc751417461507048db9b1aa8b669a (diff) | |
download | haskell-coloured-core.tar.gz |
Merge branch 'coloured-core' of https://github.com/nominolo/ghc into coloured-corecoloured-core
Diffstat (limited to 'compiler/main/DynFlags.hs')
-rw-r--r-- | compiler/main/DynFlags.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 2f3e9f41fe..e405aea4fe 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -804,12 +804,12 @@ defaultDynFlags mySettings = log_action = \severity srcSpan style msg -> case severity of - SevOutput -> printOutput (msg style) - SevInfo -> printErrs (msg style) - SevFatal -> printErrs (msg style) + SevOutput -> printSDoc msg style + SevInfo -> printErrs msg style + SevFatal -> printErrs msg style _ -> do hPutChar stderr '\n' - printErrs ((mkLocMessage srcSpan msg) style) + printErrs (mkLocMessage srcSpan msg) style -- careful (#2302): printErrs prints in UTF-8, whereas -- converting to string first and using hPutStr would -- just emit the low 8 bits of each unicode char. |