[commit: ghc] master: Fix "Use correct documentation flag for freverse-errors" (079dd12)
git at git.haskell.org
git at git.haskell.org
Tue Oct 27 14:51:12 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/079dd12cdd77271a070875780689a3dbd0913a87/ghc
>---------------------------------------------------------------
commit 079dd12cdd77271a070875780689a3dbd0913a87
Author: Ben Gamari <ben at smart-cactus.org>
Date: Tue Oct 27 15:53:20 2015 +0100
Fix "Use correct documentation flag for freverse-errors"
This fixes commit d1d8704cb3d003315177fad1394fce49f98fb1a2,
which somehow was mangled during merge.
>---------------------------------------------------------------
079dd12cdd77271a070875780689a3dbd0913a87
compiler/main/DynFlags.hs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index f7a3edd..f22011e 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -2404,6 +2404,10 @@ dynamic_flags = [
deprecate "Use -fno-force-recomp instead"))
, defGhcFlag "no-recomp" (NoArg (do setGeneralFlag Opt_ForceRecomp
deprecate "Use -fforce-recomp instead"))
+ , defGhcFlag "freverse-errors"
+ (noArg (\d -> d {reverseErrors = True} ))
+ , defGhcFlag "fno-reverse-errors"
+ (noArg (\d -> d {reverseErrors = False} ))
------ HsCpp opts ---------------------------------------------------
, defFlag "D" (AnySuffix (upd . addOptP))
More information about the ghc-commits
mailing list