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/CmdLineParser.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/CmdLineParser.hs')
-rw-r--r-- | compiler/main/CmdLineParser.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/CmdLineParser.hs b/compiler/main/CmdLineParser.hs index 67515e53a1..372bd3507e 100644 --- a/compiler/main/CmdLineParser.hs +++ b/compiler/main/CmdLineParser.hs @@ -233,5 +233,5 @@ missingArgErr f = Left ("missing argument for flag: " ++ f) errorsToGhcException :: [Located String] -> GhcException errorsToGhcException errs = let errors = vcat [ ppr l <> text ": " <> text e | L l e <- errs ] - in UsageError (showSDoc $ withPprStyle cmdlineParserStyle errors) + in UsageError (renderWithStyle errors cmdlineParserStyle) |