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/deSugar | |
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/deSugar')
-rw-r--r-- | compiler/deSugar/Check.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/Coverage.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/Desugar.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/DsArrows.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/DsBinds.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/DsCCall.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/DsExpr.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/DsForeign.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/DsGRHSs.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/DsListComp.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/DsMeta.hs | 4 | ||||
-rw-r--r-- | compiler/deSugar/DsMonad.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/DsUtils.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/Match.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/MatchCon.lhs | 4 | ||||
-rw-r--r-- | compiler/deSugar/MatchLit.lhs | 4 |
16 files changed, 32 insertions, 32 deletions
diff --git a/compiler/deSugar/Check.lhs b/compiler/deSugar/Check.lhs index 5c90aa473e..0ce5638edc 100644 --- a/compiler/deSugar/Check.lhs +++ b/compiler/deSugar/Check.lhs @@ -5,11 +5,11 @@ % Author: Juan J. Quintela <quintela@krilin.dc.fi.udc.es> \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 Check ( check , ExhaustivePat ) where diff --git a/compiler/deSugar/Coverage.lhs b/compiler/deSugar/Coverage.lhs index 54304f7d7c..0156651864 100644 --- a/compiler/deSugar/Coverage.lhs +++ b/compiler/deSugar/Coverage.lhs @@ -5,11 +5,11 @@ \section[Coverage]{@coverage@: the main function} \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 Coverage (addCoverageTicksToBinds) where diff --git a/compiler/deSugar/Desugar.lhs b/compiler/deSugar/Desugar.lhs index f7407394ba..7cbd576704 100644 --- a/compiler/deSugar/Desugar.lhs +++ b/compiler/deSugar/Desugar.lhs @@ -6,11 +6,11 @@ The Desugarer: turning HsSyn into Core. \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 Desugar ( deSugar, deSugarExpr ) where diff --git a/compiler/deSugar/DsArrows.lhs b/compiler/deSugar/DsArrows.lhs index 86b52ed73a..167c323936 100644 --- a/compiler/deSugar/DsArrows.lhs +++ b/compiler/deSugar/DsArrows.lhs @@ -6,11 +6,11 @@ Desugaring arrow commands \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 DsArrows ( dsProcExpr ) where diff --git a/compiler/deSugar/DsBinds.lhs b/compiler/deSugar/DsBinds.lhs index 82c945573d..9bf8fd3ea0 100644 --- a/compiler/deSugar/DsBinds.lhs +++ b/compiler/deSugar/DsBinds.lhs @@ -10,11 +10,11 @@ in that the @Rec@/@NonRec@/etc structure is thrown away (whereas at lower levels it is preserved with @let@/@letrec@s). \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 DsBinds ( dsTopLHsBinds, dsLHsBinds, decomposeRuleLhs, diff --git a/compiler/deSugar/DsCCall.lhs b/compiler/deSugar/DsCCall.lhs index 7148071a5c..fc4305b54b 100644 --- a/compiler/deSugar/DsCCall.lhs +++ b/compiler/deSugar/DsCCall.lhs @@ -6,11 +6,11 @@ Desugaring foreign calls \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 DsCCall diff --git a/compiler/deSugar/DsExpr.lhs b/compiler/deSugar/DsExpr.lhs index 693fbdd0cf..97c5d15afb 100644 --- a/compiler/deSugar/DsExpr.lhs +++ b/compiler/deSugar/DsExpr.lhs @@ -6,11 +6,11 @@ Desugaring exporessions. \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 DsExpr ( dsExpr, dsLExpr, dsLocalBinds, dsValBinds, dsLit ) where diff --git a/compiler/deSugar/DsForeign.lhs b/compiler/deSugar/DsForeign.lhs index fd37a66a37..45eb8138bf 100644 --- a/compiler/deSugar/DsForeign.lhs +++ b/compiler/deSugar/DsForeign.lhs @@ -6,11 +6,11 @@ Desugaring foreign declarations (see also DsCCall). \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 DsForeign ( dsForeigns ) where diff --git a/compiler/deSugar/DsGRHSs.lhs b/compiler/deSugar/DsGRHSs.lhs index b64285971d..e0bb5f2dbb 100644 --- a/compiler/deSugar/DsGRHSs.lhs +++ b/compiler/deSugar/DsGRHSs.lhs @@ -6,11 +6,11 @@ Matching guarded right-hand-sides (GRHSs) \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 DsGRHSs ( dsGuarded, dsGRHSs ) where diff --git a/compiler/deSugar/DsListComp.lhs b/compiler/deSugar/DsListComp.lhs index a1133e8398..35c273096a 100644 --- a/compiler/deSugar/DsListComp.lhs +++ b/compiler/deSugar/DsListComp.lhs @@ -6,11 +6,11 @@ Desugaring list comprehensions and array comprehensions \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 DsListComp ( dsListComp, dsPArrComp ) where diff --git a/compiler/deSugar/DsMeta.hs b/compiler/deSugar/DsMeta.hs index 983c3ea028..7fbce3112e 100644 --- a/compiler/deSugar/DsMeta.hs +++ b/compiler/deSugar/DsMeta.hs @@ -13,11 +13,11 @@ -- a Royal Pain (triggers other recompilation). ----------------------------------------------------------------------------- -{-# 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 DsMeta( dsBracket, diff --git a/compiler/deSugar/DsMonad.lhs b/compiler/deSugar/DsMonad.lhs index 4af6f68ed6..6459ca883f 100644 --- a/compiler/deSugar/DsMonad.lhs +++ b/compiler/deSugar/DsMonad.lhs @@ -6,11 +6,11 @@ @DsMonad@: monadery used in desugaring \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 DsMonad ( diff --git a/compiler/deSugar/DsUtils.lhs b/compiler/deSugar/DsUtils.lhs index 6d2b2c6584..209b0179e7 100644 --- a/compiler/deSugar/DsUtils.lhs +++ b/compiler/deSugar/DsUtils.lhs @@ -8,11 +8,11 @@ Utilities for desugaring This module exports some utility functions of no great interest. \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 DsUtils ( diff --git a/compiler/deSugar/Match.lhs b/compiler/deSugar/Match.lhs index 21818a227e..a95e25a926 100644 --- a/compiler/deSugar/Match.lhs +++ b/compiler/deSugar/Match.lhs @@ -6,11 +6,11 @@ The @match@ function \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 Match ( match, matchEquations, matchWrapper, matchSimply, matchSinglePat ) where diff --git a/compiler/deSugar/MatchCon.lhs b/compiler/deSugar/MatchCon.lhs index bd4a9b77ed..3bd8ff6ef6 100644 --- a/compiler/deSugar/MatchCon.lhs +++ b/compiler/deSugar/MatchCon.lhs @@ -6,11 +6,11 @@ Pattern-matching constructors \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 MatchCon ( matchConFamily ) where diff --git a/compiler/deSugar/MatchLit.lhs b/compiler/deSugar/MatchLit.lhs index c8e8e6239f..f1ea487390 100644 --- a/compiler/deSugar/MatchLit.lhs +++ b/compiler/deSugar/MatchLit.lhs @@ -6,11 +6,11 @@ Pattern-matching literal 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 MatchLit ( dsLit, dsOverLit, hsLitKey, hsOverLitKey, |