diff options
| author | Ian Lynagh <igloo@earth.li> | 2007-09-03 23:39:03 +0000 | 
|---|---|---|
| committer | Ian Lynagh <igloo@earth.li> | 2007-09-03 23:39:03 +0000 | 
| commit | ad94d40948668032189ad22a0ad741ac1f645f50 (patch) | |
| tree | 34212fac32f276c0095f35b39019602c964cbdcf /compiler/hsSyn | |
| parent | 45202530612593a0ba7a6c559a38dc1ff26670a4 (diff) | |
| download | haskell-ad94d40948668032189ad22a0ad741ac1f645f50.tar.gz | |
Use OPTIONS rather than OPTIONS_GHC for pragmas
Older GHCs can't parse OPTIONS_GHC.
This also changes the URL referenced for the -w options from
WorkingConventions#Warnings to CodingStyle#Warnings for the compiler
modules.
Diffstat (limited to 'compiler/hsSyn')
| -rw-r--r-- | compiler/hsSyn/Convert.lhs | 4 | ||||
| -rw-r--r-- | compiler/hsSyn/HsBinds.lhs | 4 | ||||
| -rw-r--r-- | compiler/hsSyn/HsDecls.lhs | 4 | ||||
| -rw-r--r-- | compiler/hsSyn/HsDoc.hs | 4 | ||||
| -rw-r--r-- | compiler/hsSyn/HsExpr.lhs | 4 | ||||
| -rw-r--r-- | compiler/hsSyn/HsImpExp.lhs | 4 | ||||
| -rw-r--r-- | compiler/hsSyn/HsLit.lhs | 4 | ||||
| -rw-r--r-- | compiler/hsSyn/HsPat.lhs | 4 | ||||
| -rw-r--r-- | compiler/hsSyn/HsSyn.lhs | 4 | ||||
| -rw-r--r-- | compiler/hsSyn/HsTypes.lhs | 4 | ||||
| -rw-r--r-- | compiler/hsSyn/HsUtils.lhs | 4 | 
11 files changed, 22 insertions, 22 deletions
diff --git a/compiler/hsSyn/Convert.lhs b/compiler/hsSyn/Convert.lhs index 6af1244dac..18f40e3874 100644 --- a/compiler/hsSyn/Convert.lhs +++ b/compiler/hsSyn/Convert.lhs @@ -6,11 +6,11 @@  This module converts Template Haskell syntax into HsSyn  \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module Convert( convertToHsExpr, convertToHsDecls,  diff --git a/compiler/hsSyn/HsBinds.lhs b/compiler/hsSyn/HsBinds.lhs index aad04bd904..be020b8c93 100644 --- a/compiler/hsSyn/HsBinds.lhs +++ b/compiler/hsSyn/HsBinds.lhs @@ -7,11 +7,11 @@  Datatype for: @BindGroup@, @Bind@, @Sig@, @Bind@.  \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module HsBinds where diff --git a/compiler/hsSyn/HsDecls.lhs b/compiler/hsSyn/HsDecls.lhs index f1cde04ee4..75e59c685c 100644 --- a/compiler/hsSyn/HsDecls.lhs +++ b/compiler/hsSyn/HsDecls.lhs @@ -9,11 +9,11 @@ Definitions for: @TyDecl@ and @oCnDecl@, @ClassDecl@,  @InstDecl@, @DefaultDecl@ and @ForeignDecl@.  \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module HsDecls ( diff --git a/compiler/hsSyn/HsDoc.hs b/compiler/hsSyn/HsDoc.hs index 83fb3c4653..57dcfbe24d 100644 --- a/compiler/hsSyn/HsDoc.hs +++ b/compiler/hsSyn/HsDoc.hs @@ -1,8 +1,8 @@ -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module HsDoc ( diff --git a/compiler/hsSyn/HsExpr.lhs b/compiler/hsSyn/HsExpr.lhs index 4721939d79..2a4da413ad 100644 --- a/compiler/hsSyn/HsExpr.lhs +++ b/compiler/hsSyn/HsExpr.lhs @@ -6,11 +6,11 @@  HsExpr: Abstract Haskell syntax: expressions  \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module HsExpr where diff --git a/compiler/hsSyn/HsImpExp.lhs b/compiler/hsSyn/HsImpExp.lhs index ebd18eacf8..5cc2a64960 100644 --- a/compiler/hsSyn/HsImpExp.lhs +++ b/compiler/hsSyn/HsImpExp.lhs @@ -6,11 +6,11 @@  HsImpExp: Abstract syntax: imports, exports, interfaces  \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module HsImpExp where diff --git a/compiler/hsSyn/HsLit.lhs b/compiler/hsSyn/HsLit.lhs index 9d90924279..e9ca07b82c 100644 --- a/compiler/hsSyn/HsLit.lhs +++ b/compiler/hsSyn/HsLit.lhs @@ -5,11 +5,11 @@  \section[HsLit]{Abstract syntax: source-language literals}  \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module HsLit where diff --git a/compiler/hsSyn/HsPat.lhs b/compiler/hsSyn/HsPat.lhs index 10af93d1e2..5572f62a74 100644 --- a/compiler/hsSyn/HsPat.lhs +++ b/compiler/hsSyn/HsPat.lhs @@ -5,11 +5,11 @@  \section[PatSyntax]{Abstract Haskell syntax---patterns}  \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module HsPat ( diff --git a/compiler/hsSyn/HsSyn.lhs b/compiler/hsSyn/HsSyn.lhs index e3ffea2c4d..f7b05e73fb 100644 --- a/compiler/hsSyn/HsSyn.lhs +++ b/compiler/hsSyn/HsSyn.lhs @@ -9,11 +9,11 @@ which is declared in the various \tr{Hs*} modules.  This module,  therefore, is almost nothing but re-exporting.  \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module HsSyn ( diff --git a/compiler/hsSyn/HsTypes.lhs b/compiler/hsSyn/HsTypes.lhs index 96f95c2679..6f347fe078 100644 --- a/compiler/hsSyn/HsTypes.lhs +++ b/compiler/hsSyn/HsTypes.lhs @@ -6,11 +6,11 @@  HsTypes: Abstract syntax: user-defined types  \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module HsTypes ( diff --git a/compiler/hsSyn/HsUtils.lhs b/compiler/hsSyn/HsUtils.lhs index 19fd902771..0e7588030f 100644 --- a/compiler/hsSyn/HsUtils.lhs +++ b/compiler/hsSyn/HsUtils.lhs @@ -13,11 +13,11 @@ which deal with the intantiated versions are located elsewhere:     Id			typecheck/TcHsSyn	  \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-}  -- The above warning supression flag is a temporary kludge.  -- While working on this module you are encouraged to remove it and fix  -- any warnings in the module. See ---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings  -- for details  module HsUtils where  | 
