diff options
author | Phil Ruffwind <rf@rufflewind.com> | 2017-03-23 20:59:01 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-03-23 22:14:48 -0400 |
commit | adf27d614f8a48d8dcf2d4e2e7872f7b3f818364 (patch) | |
tree | 5dae7f8b6ed3caecfceaa220798967291904ed26 /compiler/ghc.cabal.in | |
parent | 90d9e977224f3bd71bd5d2cc70e16851541346d2 (diff) | |
download | haskell-adf27d614f8a48d8dcf2d4e2e7872f7b3f818364.tar.gz |
Allow colors to be customized
Allow customization of diagnostic colors through the GHC_COLORS
environment variable. Some color-related code have been refactored to
PprColour to reduce the circular dependence between DynFlags,
Outputable, ErrUtils. Some color functions that were part of Outputable
but were never used have been deleted.
Test Plan: validate
Reviewers: austin, hvr, bgamari, dfeuer
Reviewed By: bgamari, dfeuer
Subscribers: dfeuer, rwbarton, thomie, snowleopard
Differential Revision: https://phabricator.haskell.org/D3364
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r-- | compiler/ghc.cabal.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index fc8dcd98bf..6054d8579a 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -501,6 +501,7 @@ Library Outputable Pair Panic + PprColour Pretty State Stream |