summaryrefslogtreecommitdiff
path: root/compiler/simplCore/FloatIn.lhs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-09-03 23:39:03 +0000
committerIan Lynagh <igloo@earth.li>2007-09-03 23:39:03 +0000
commitad94d40948668032189ad22a0ad741ac1f645f50 (patch)
tree34212fac32f276c0095f35b39019602c964cbdcf /compiler/simplCore/FloatIn.lhs
parent45202530612593a0ba7a6c559a38dc1ff26670a4 (diff)
downloadhaskell-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/simplCore/FloatIn.lhs')
-rw-r--r--compiler/simplCore/FloatIn.lhs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/simplCore/FloatIn.lhs b/compiler/simplCore/FloatIn.lhs
index 4c39336777..8376af976e 100644
--- a/compiler/simplCore/FloatIn.lhs
+++ b/compiler/simplCore/FloatIn.lhs
@@ -12,11 +12,11 @@ case, so that we don't allocate things, save them on the stack, and
then discover that they aren't needed in the chosen branch.
\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 FloatIn ( floatInwards ) where