summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/PprMach.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/nativeGen/PprMach.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/nativeGen/PprMach.hs')
-rw-r--r--compiler/nativeGen/PprMach.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/nativeGen/PprMach.hs b/compiler/nativeGen/PprMach.hs
index 91f9cdf48c..51159559ed 100644
--- a/compiler/nativeGen/PprMach.hs
+++ b/compiler/nativeGen/PprMach.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
+
-----------------------------------------------------------------------------
--
-- Pretty-printing assembly language
@@ -10,13 +17,6 @@
-- (e.g., 'pprReg'); we conclude with the no-commonality monster,
-- 'pprInstr'.
-{-# 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
-
#include "nativeGen/NCG.h"
module PprMach (