summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorBertram Felgenhauer <int-e@gmx.de>2015-04-14 09:10:52 -0500
committerAustin Seipp <austin@well-typed.com>2015-04-14 09:11:15 -0500
commit6dd2765a300bb139b4ab67688dbc6f48de66969b (patch)
treeba7a31c48d2480f33a476953f74e20d7fca34a94 /ghc
parent5fded20c51ae61770f909351c851aaca3d3e331c (diff)
downloadhaskell-6dd2765a300bb139b4ab67688dbc6f48de66969b.tar.gz
Implement -f[no-]print-unicode-syntax flag for unicode syntax output (#8959)
There is currently no way to separate whether UnicodeSyntax is accepted for input from the corresponding output syntax using unicode symbols. This patch implements a separate flag for affecting ghc(i)'s output. Signed-off-by: Bertram Felgenhauer <int-e@gmx.de> Reviewed By: nomeata, austin Differential Revision: https://phabricator.haskell.org/D807 GHC Trac Issues: #8959
Diffstat (limited to 'ghc')
-rw-r--r--ghc/InteractiveUI.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index fc2883f837..f5b69ae089 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -2073,6 +2073,7 @@ showDynFlags show_all dflags = do
DynFlags.fFlags
flgs = [ Opt_PrintExplicitForalls
, Opt_PrintExplicitKinds
+ , Opt_PrintUnicodeSyntax
, Opt_PrintBindResult
, Opt_BreakOnException
, Opt_BreakOnError