X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FDynFlags.hs;h=1d19f8e9ffa505cf9b53e759b1644072b93f3ad9;hb=f4e4060721bdbeee81d5e9fd3c8d909ece6195df;hp=5b93d197f0af1bbdf9f377f68f45c7a7d3646829;hpb=6d23bdb765493957bc85bc83f752300e02ab0d78;p=ghc-hetmet.git diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 5b93d19..1d19f8e 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -183,6 +183,8 @@ data DynFlag | Opt_RecordPuns | Opt_GADTs | Opt_RelaxedPolyRec -- -X=RelaxedPolyRec + | Opt_MagicHash + | Opt_EmptyDataDecls -- optimisation opts | Opt_Strictness @@ -1092,14 +1094,16 @@ fFlags = [ -- These -X flags can all be reversed with -Xno- xFlags :: [(String, DynFlag)] xFlags = [ + ( "MagicHash", Opt_MagicHash ), + ( "EmptyDataDecls", Opt_EmptyDataDecls ), ( "FI", Opt_FFI ), -- support `-ffi'... ( "FFI", Opt_FFI ), -- ...and also `-fffi' - ( "ForeignFunctionInterface", Opt_FFI ), -- ...and also `-fffi' + ( "ForeignFunctionInterface", Opt_FFI ), ( "Arrows", Opt_Arrows ), -- arrow syntax ( "Parr", Opt_PArr ), - ( "TH", Opt_TH ), + ( "TH", Opt_TH ), -- support -fth ( "TemplateHaskelll", Opt_TH ), ( "Generics", Opt_Generics ), @@ -1135,6 +1139,8 @@ glasgowExtsFlags = [ Opt_GlasgowExts , Opt_GADTs , Opt_ImplicitParams , Opt_ScopedTypeVariables + , Opt_MagicHash + , Opt_EmptyDataDecls , Opt_TypeFamilies ] ------------------