summaryrefslogtreecommitdiff
path: root/compiler/nativeGen
diff options
context:
space:
mode:
authorThorkil Naur <naur@post11.tele.dk>2011-11-06 17:57:49 +0100
committerIan Lynagh <igloo@earth.li>2011-11-07 00:54:47 +0000
commit1ece7b27a11c6947f0ae3a11703e22b7065a6b6c (patch)
treeb7a191b75d950ed759c797e8f8a9287ff3f10048 /compiler/nativeGen
parent6d9dfcc5f0998f937ffe4cf11a46245d0f43851f (diff)
downloadhaskell-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.
Diffstat (limited to 'compiler/nativeGen')
-rw-r--r--compiler/nativeGen/PPC/Instr.hs6
-rw-r--r--compiler/nativeGen/SPARC/Instr.hs6
2 files changed, 6 insertions, 6 deletions
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,