summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSiddhanathan Shanmugam <siddhanathan@gmail.com>2015-10-27 15:08:41 +0100
committerBen Gamari <ben@smart-cactus.org>2015-10-27 15:08:42 +0100
commitd1d8704cb3d003315177fad1394fce49f98fb1a2 (patch)
tree09ea78ec73b7b40984decef5bf0f705fa9b4da65 /compiler
parentadc3d1785dd8efc2b194cec331eff816ae77dd93 (diff)
downloadhaskell-d1d8704cb3d003315177fad1394fce49f98fb1a2.tar.gz
Use correct documentation flag for freverse-errors
Reviewers: austin, thomie, bgamari Reviewed By: bgamari Differential Revision: https://phabricator.haskell.org/D1376 GHC Trac Issues: #10848
Diffstat (limited to 'compiler')
-rw-r--r--compiler/main/DynFlags.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 4af16cfbc5..7794145ef5 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -2402,9 +2402,9 @@ dynamic_flags = [
deprecate "Use -fno-force-recomp instead"))
, defGhcFlag "no-recomp" (NoArg (do setGeneralFlag Opt_ForceRecomp
deprecate "Use -fforce-recomp instead"))
- , defGhcFlag "freverse-errors"
+ , defFlag "freverse-errors"
(noArg (\d -> d {reverseErrors = True} ))
- , defGhcFlag "fno-reverse-errors"
+ , defFlag "fno-reverse-errors"
(noArg (\d -> d {reverseErrors = False} ))
------ HsCpp opts ---------------------------------------------------