From: simonpj@microsoft.com Date: Thu, 21 Jun 2007 07:24:56 +0000 (+0000) Subject: Wibble: make -fno-implicit-prelude work X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=bec55bc5799e7579391a257f2e489b8e427d1aa8 Wibble: make -fno-implicit-prelude work --- diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 605474f..a0882f2 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -1026,6 +1026,7 @@ dynamic_flags = [ -- For now, allow -X flags with -f; ToDo: report this as deprecated , ( "f", PrefixPred (isFlag xFlags) (\f -> setDynFlag (getFlag xFlags f)) ) + , ( "f", PrefixPred (isNoFlag xFlags) (\f -> unSetDynFlag (getNoFlag xFlags f)) ) -- the rest of the -X* and -Xno-* flags , ( "X", PrefixPred (isFlag xFlags) (\f -> setDynFlag (getFlag xFlags f)) )