diff options
author | Ian Lynagh <igloo@earth.li> | 2011-11-04 15:06:56 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-11-04 15:57:46 +0000 |
commit | 1df198643cc5502ee103f043193d2990c9837e25 (patch) | |
tree | 1a5cf7036a3c0f8c2fa13b3d51fb9f492ddec5de /ghc | |
parent | ed26b477377ac4ac2277a82effb8d1b830843851 (diff) | |
download | haskell-1df198643cc5502ee103f043193d2990c9837e25.tar.gz |
Use -fwarn-tabs when validating
We only use it for "compiler" sources, i.e. not for libraries.
Many modules have a -fno-warn-tabs kludge for now.
Diffstat (limited to 'ghc')
-rw-r--r-- | ghc/GhciMonad.hs | 7 | ||||
-rw-r--r-- | ghc/GhciTags.hs | 7 | ||||
-rw-r--r-- | ghc/InteractiveUI.hs | 7 | ||||
-rw-r--r-- | ghc/Main.hs | 7 |
4 files changed, 28 insertions, 0 deletions
diff --git a/ghc/GhciMonad.hs b/ghc/GhciMonad.hs index 66b3c05b44..55d8946c4f 100644 --- a/ghc/GhciMonad.hs +++ b/ghc/GhciMonad.hs @@ -1,6 +1,13 @@ {-# OPTIONS_GHC -fno-cse -fno-warn-orphans #-} -- -fno-cse is needed for GLOBAL_VAR's to behave properly +{-# OPTIONS -fno-warn-tabs #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and +-- detab the module (please do the detabbing in a separate patch). See +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSp +-- for details + ----------------------------------------------------------------------------- -- -- Monadery code used in InteractiveUI diff --git a/ghc/GhciTags.hs b/ghc/GhciTags.hs index df826e1926..a3ad646309 100644 --- a/ghc/GhciTags.hs +++ b/ghc/GhciTags.hs @@ -6,6 +6,13 @@ -- ----------------------------------------------------------------------------- +{-# OPTIONS -fno-warn-tabs #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and +-- detab the module (please do the detabbing in a separate patch). See +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSp +-- for details + {-# OPTIONS_GHC -fno-warn-name-shadowing #-} module GhciTags ( createCTagsWithLineNumbersCmd, diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs index 5b1c6817a3..0525f4098c 100644 --- a/ghc/InteractiveUI.hs +++ b/ghc/InteractiveUI.hs @@ -1,6 +1,13 @@ {-# OPTIONS -fno-cse #-} -- -fno-cse is needed for GLOBAL_VAR's to behave properly +{-# OPTIONS -fno-warn-tabs #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and +-- detab the module (please do the detabbing in a separate patch). See +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSp +-- for details + {-# OPTIONS_GHC -fno-warn-name-shadowing #-} ----------------------------------------------------------------------------- -- diff --git a/ghc/Main.hs b/ghc/Main.hs index d44ecc58af..4829a4f5a8 100644 --- a/ghc/Main.hs +++ b/ghc/Main.hs @@ -1,5 +1,12 @@ {-# OPTIONS -fno-warn-incomplete-patterns -optc-DNON_POSIX_SOURCE #-} +{-# OPTIONS -fno-warn-tabs #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and +-- detab the module (please do the detabbing in a separate patch). See +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSp +-- for details + ----------------------------------------------------------------------------- -- -- GHC Driver program |