X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FDynFlags.hs;h=85554cbafafbbd272243fe4ba65064cbd0308314;hp=ccf50500f4f11e698a859a01c1c0ef39345d883d;hb=0cbdc7b1bd76c61ad31a14a43398ae05ce138489;hpb=5e4375adca19f66803c3ad47fb1ba2c2ac6b4b62 diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index ccf5050..85554cb 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -305,6 +305,7 @@ data ExtensionFlag | Opt_GADTs | Opt_RelaxedPolyRec | Opt_NPlusKPatterns + | Opt_DoAndIfThenElse | Opt_StandaloneDeriving | Opt_DeriveDataTypeable @@ -814,6 +815,7 @@ languageExtensions (Just Haskell2010) Opt_EmptyDataDecls, Opt_ForeignFunctionInterface, Opt_PatternGuards, + Opt_DoAndIfThenElse, Opt_RelaxedPolyRec] -- The DOpt class is a temporary workaround, to avoid having to do @@ -1773,6 +1775,7 @@ xFlags = [ ( "BangPatterns", Opt_BangPatterns, const Supported ), ( "MonomorphismRestriction", Opt_MonomorphismRestriction, const Supported ), ( "NPlusKPatterns", Opt_NPlusKPatterns, const Supported ), + ( "DoAndIfThenElse", Opt_DoAndIfThenElse, const Supported ), ( "MonoPatBinds", Opt_MonoPatBinds, const Supported ), ( "ExplicitForAll", Opt_ExplicitForAll, const Supported ), ( "AlternativeLayoutRule", Opt_AlternativeLayoutRule, const Supported ),