Add -fparr deprecated flag, and change -XParr to -XPArr
authorIan Lynagh <igloo@earth.li>
Sat, 4 Aug 2007 15:45:05 +0000 (15:45 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 4 Aug 2007 15:45:05 +0000 (15:45 +0000)
-fparr did exist before, it just wasn't documented.

compiler/main/DynFlags.hs

index 3de4012..32faa8d 100644 (file)
@@ -1159,6 +1159,8 @@ fFlags = [
   ( "implicit-params",                  Opt_ImplicitParams ),
   -- Deprecated in favour of -XScopedTypeVariables:
   ( "scoped-type-variables",            Opt_ScopedTypeVariables ),
   ( "implicit-params",                  Opt_ImplicitParams ),
   -- Deprecated in favour of -XScopedTypeVariables:
   ( "scoped-type-variables",            Opt_ScopedTypeVariables ),
+  -- Deprecated in favour of -XPArr:
+  ( "parr",                             Opt_PArr ),
   -- Deprecated in favour of -XOverlappingInstances:
   ( "AllowOverlappingInstances",        Opt_AllowOverlappingInstances ),
   -- Deprecated in favour of -XUndecidableInstances:
   -- Deprecated in favour of -XOverlappingInstances:
   ( "AllowOverlappingInstances",        Opt_AllowOverlappingInstances ),
   -- Deprecated in favour of -XUndecidableInstances:
@@ -1190,7 +1192,7 @@ xFlags = [
   ( "TypeOperators",                    Opt_TypeOperators ),
   ( "RecursiveDo",                      Opt_RecursiveDo ),
   ( "Arrows",                           Opt_Arrows ),
   ( "TypeOperators",                    Opt_TypeOperators ),
   ( "RecursiveDo",                      Opt_RecursiveDo ),
   ( "Arrows",                           Opt_Arrows ),
-  ( "Parr",                             Opt_PArr ),
+  ( "PArr",                             Opt_PArr ),
   ( "TemplateHaskell",                  Opt_TH ),
   ( "Generics",                         Opt_Generics ),
   -- On by default:
   ( "TemplateHaskell",                  Opt_TH ),
   ( "Generics",                         Opt_Generics ),
   -- On by default: