diff options
author | Thorkil Naur <naur@post11.tele.dk> | 2011-11-06 17:57:49 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-11-07 00:54:47 +0000 |
commit | 1ece7b27a11c6947f0ae3a11703e22b7065a6b6c (patch) | |
tree | b7a191b75d950ed759c797e8f8a9287ff3f10048 | |
parent | 6d9dfcc5f0998f937ffe4cf11a46245d0f43851f (diff) | |
download | haskell-1ece7b27a11c6947f0ae3a11703e22b7065a6b6c.tar.gz |
Fix validate by moving OPTIONS -fno-warn-tabs Validate fixed for Mac OS X 10.5 and Linux. For both: compiler/nativeGen/PPC/Instr.hs compiler/nativeGen/SPARC/Instr.hs failed to (stage1) build. For Mac OS X, but mysteriously not for Linux: compiler/basicTypes/Id.lhs compiler/basicTypes/Name.lhs failed during haddock'ing.
-rw-r--r-- | compiler/basicTypes/Id.lhs | 14 | ||||
-rw-r--r-- | compiler/basicTypes/Name.lhs | 14 | ||||
-rw-r--r-- | compiler/nativeGen/PPC/Instr.hs | 6 | ||||
-rw-r--r-- | compiler/nativeGen/SPARC/Instr.hs | 6 |
4 files changed, 20 insertions, 20 deletions
diff --git a/compiler/basicTypes/Id.lhs b/compiler/basicTypes/Id.lhs index 1a4f95c26a..d1df6cc0ab 100644 --- a/compiler/basicTypes/Id.lhs +++ b/compiler/basicTypes/Id.lhs @@ -5,6 +5,13 @@ \section[Id]{@Ids@: Value and constructor identifiers} \begin{code} +{-# 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#TabsvsSpaces +-- for details + -- | -- #name_types# -- GHC uses several kinds of name internally: @@ -22,13 +29,6 @@ -- -- * 'Var.Var': see "Var#name_types" -{-# 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#TabsvsSpaces --- for details - module Id ( -- * The main types Var, Id, isId, diff --git a/compiler/basicTypes/Name.lhs b/compiler/basicTypes/Name.lhs index fde589044b..64ca362d54 100644 --- a/compiler/basicTypes/Name.lhs +++ b/compiler/basicTypes/Name.lhs @@ -5,6 +5,13 @@ \section[Name]{@Name@: to transmit name info from renamer to typechecker} \begin{code} +{-# 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#TabsvsSpaces +-- for details + -- | -- #name_types# -- GHC uses several kinds of name internally: @@ -31,13 +38,6 @@ -- * Internal, if they name things in the module being compiled. Some internal -- Names are system names, if they are names manufactured by the compiler -{-# 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#TabsvsSpaces --- for details - module Name ( -- * The main types Name, -- Abstract diff --git a/compiler/nativeGen/PPC/Instr.hs b/compiler/nativeGen/PPC/Instr.hs index d6f4bafd0d..63872e163a 100644 --- a/compiler/nativeGen/PPC/Instr.hs +++ b/compiler/nativeGen/PPC/Instr.hs @@ -6,9 +6,6 @@ -- ----------------------------------------------------------------------------- -#include "HsVersions.h" -#include "nativeGen/NCG.h" - {-# 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 @@ -16,6 +13,9 @@ -- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces -- for details +#include "HsVersions.h" +#include "nativeGen/NCG.h" + module PPC.Instr ( archWordSize, RI(..), diff --git a/compiler/nativeGen/SPARC/Instr.hs b/compiler/nativeGen/SPARC/Instr.hs index 742a4e7d33..82e16eee72 100644 --- a/compiler/nativeGen/SPARC/Instr.hs +++ b/compiler/nativeGen/SPARC/Instr.hs @@ -6,9 +6,6 @@ -- ----------------------------------------------------------------------------- -#include "HsVersions.h" -#include "nativeGen/NCG.h" - {-# 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 @@ -16,6 +13,9 @@ -- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces -- for details +#include "HsVersions.h" +#include "nativeGen/NCG.h" + module SPARC.Instr ( RI(..), riZero, |