diff options
author | Ian Lynagh <igloo@earth.li> | 2007-09-21 16:35:52 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-09-21 16:35:52 +0000 |
commit | 982c1f494de8a691294a95aee108e765c3f592a0 (patch) | |
tree | 2ed3239600e55fe707e7408e2fa108413db2c797 /compiler/utils/Encoding.hs | |
parent | fee569a69a4ce8c8d05b8a1fb8069d804dbd2b9c (diff) | |
download | haskell-982c1f494de8a691294a95aee108e765c3f592a0.tar.gz |
Move OPTIONS pragmas above comments
Fixes building with -Werror (i.e. validate) and GHC < 6.6
Diffstat (limited to 'compiler/utils/Encoding.hs')
-rw-r--r-- | compiler/utils/Encoding.hs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/utils/Encoding.hs b/compiler/utils/Encoding.hs index 347fd8d481..01dd87c94c 100644 --- a/compiler/utils/Encoding.hs +++ b/compiler/utils/Encoding.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 + -- ----------------------------------------------------------------------------- -- -- (c) The University of Glasgow, 1997-2006 @@ -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 Encoding ( -- * UTF-8 utf8DecodeChar#, |