summaryrefslogtreecommitdiff
path: root/compiler/main/DriverMkDepend.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-09-21 16:35:52 +0000
committerIan Lynagh <igloo@earth.li>2007-09-21 16:35:52 +0000
commit982c1f494de8a691294a95aee108e765c3f592a0 (patch)
tree2ed3239600e55fe707e7408e2fa108413db2c797 /compiler/main/DriverMkDepend.hs
parentfee569a69a4ce8c8d05b8a1fb8069d804dbd2b9c (diff)
downloadhaskell-982c1f494de8a691294a95aee108e765c3f592a0.tar.gz
Move OPTIONS pragmas above comments
Fixes building with -Werror (i.e. validate) and GHC < 6.6
Diffstat (limited to 'compiler/main/DriverMkDepend.hs')
-rw-r--r--compiler/main/DriverMkDepend.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/main/DriverMkDepend.hs b/compiler/main/DriverMkDepend.hs
index de0ce531b5..a97101b2d6 100644
--- a/compiler/main/DriverMkDepend.hs
+++ b/compiler/main/DriverMkDepend.hs
@@ -1,3 +1,10 @@
+{-# 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/Commentary/CodingStyle#Warnings
+-- for details
+
-----------------------------------------------------------------------------
--
-- Makefile Dependency Generation
@@ -6,13 +13,6 @@
--
-----------------------------------------------------------------------------
-{-# 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/Commentary/CodingStyle#Warnings
--- for details
-
module DriverMkDepend (
doMkDependHS
) where