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.mk | |
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.mk')
-rw-r--r-- | compiler/ghc.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 3f6e77ca4b..28b0001805 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -528,6 +528,7 @@ compiler_stage2_dll0_MODULES = \ PipelineMonad \ Platform \ PlatformConstants \ + PprColour \ PprCore \ PrelNames \ PrelRules \ |