diff options
author | Ian Lynagh <igloo@earth.li> | 2012-06-05 00:52:01 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-06-05 03:11:23 +0100 |
commit | 243439e6e77eca548a6583722792d6b96e3f6bcd (patch) | |
tree | 82a7852a205a53f3acfcd5d345a43cb7e284108f /compiler/parser | |
parent | 50fddb2b046605315f903d9b744780497cc978de (diff) | |
download | haskell-243439e6e77eca548a6583722792d6b96e3f6bcd.tar.gz |
Change how macros like ASSERT are defined
By using Haskell's debugIsOn rather than CPP's "#ifdef DEBUG", we
don't need to kludge things to keep the warning checker happy etc.
Diffstat (limited to 'compiler/parser')
-rw-r--r-- | compiler/parser/RdrHsSyn.lhs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/parser/RdrHsSyn.lhs b/compiler/parser/RdrHsSyn.lhs index 350aedb6f0..6da712ce44 100644 --- a/compiler/parser/RdrHsSyn.lhs +++ b/compiler/parser/RdrHsSyn.lhs @@ -76,6 +76,8 @@ import Bag ( Bag, emptyBag, consBag ) import Outputable import FastString import Maybes +import Util + import Control.Applicative ((<$>)) import Control.Monad import Text.ParserCombinators.ReadP as ReadP |