From 1df198643cc5502ee103f043193d2990c9837e25 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 4 Nov 2011 15:06:56 +0000 Subject: 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. --- compiler/codeGen/CgExtCode.hs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'compiler/codeGen/CgExtCode.hs') diff --git a/compiler/codeGen/CgExtCode.hs b/compiler/codeGen/CgExtCode.hs index 5c56ee0bd5..c94f23701b 100644 --- a/compiler/codeGen/CgExtCode.hs +++ b/compiler/codeGen/CgExtCode.hs @@ -9,6 +9,13 @@ -- to collect declarations as we parse the proc, and feed the environment -- back in circularly (to avoid a two-pass algorithm). +{-# 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 CgExtCode ( ExtFCode(..), ExtCode, -- cgit v1.2.1