From bec55bc5799e7579391a257f2e489b8e427d1aa8 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Thu, 21 Jun 2007 07:24:56 +0000 Subject: [PATCH] Wibble: make -fno-implicit-prelude work --- compiler/main/DynFlags.hs | 1 + 1 file changed, 1 insertion(+) 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)) ) -- 1.7.10.4