summaryrefslogtreecommitdiff
path: root/compiler/main/DriverPhases.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/DriverPhases.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/DriverPhases.hs')
-rw-r--r--compiler/main/DriverPhases.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/main/DriverPhases.hs b/compiler/main/DriverPhases.hs
index 1d27945c01..5efb46f2ba 100644
--- a/compiler/main/DriverPhases.hs
+++ b/compiler/main/DriverPhases.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
+
-----------------------------------------------------------------------------
-- $Id: DriverPhases.hs,v 1.38 2005/05/17 11:01:59 simonmar Exp $
--
@@ -7,13 +14,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 DriverPhases (
HscSource(..), isHsBoot, hscSourceString,
Phase(..),