summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSiddhanathan Shanmugam <siddhanathan@gmail.com>2015-10-26 20:42:43 +0100
committerBen Gamari <ben@smart-cactus.org>2015-10-26 21:43:01 +0100
commit499ce291b6bab252c63f0791276c38012280f0b4 (patch)
tree88fdc52de4d76aea3fbe3d405829619600273dcb /utils
parent23e344bbbd27418bb84bdc588374b3e44f6d23a6 (diff)
downloadhaskell-499ce291b6bab252c63f0791276c38012280f0b4.tar.gz
Add flag to reverse errors in GHC/GHCi
Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1367 GHC Trac Issues: #10848
Diffstat (limited to 'utils')
-rw-r--r--utils/mkUserGuidePart/Options/Misc.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/mkUserGuidePart/Options/Misc.hs b/utils/mkUserGuidePart/Options/Misc.hs
index d6a4c4eaec..141a9caf1c 100644
--- a/utils/mkUserGuidePart/Options/Misc.hs
+++ b/utils/mkUserGuidePart/Options/Misc.hs
@@ -29,4 +29,11 @@ miscOptions =
"the main thread, rather than a forked thread."
, flagType = DynamicFlag
}
+ , flag { flagName = "-freverse-errors"
+ , flagDescription =
+ "Display errors in GHC/GHCi sorted by reverse order of "++
+ "source code line numbers."
+ , flagType = DynamicFlag
+ , flagReverse = "-fno-reverse-errors"
+ }
]