From 956b721048d589d0901d9c70ebbf859e54d09f31 Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 16 Feb 2015 15:41:38 +0000 Subject: Restore compatibility with ghc-7.4 With ghc-7.4 'import M hiding (x)' causes an error if M does not export x... --- src/runtime/haskell/PGF/Tokenizer.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/runtime/haskell') diff --git a/src/runtime/haskell/PGF/Tokenizer.hs b/src/runtime/haskell/PGF/Tokenizer.hs index 2fa6bcd48..6b8800c57 100644 --- a/src/runtime/haskell/PGF/Tokenizer.hs +++ b/src/runtime/haskell/PGF/Tokenizer.hs @@ -5,11 +5,14 @@ In this module are implemented function that build a fst-based tokenizer from a Concrete grammar. -} +{-# LANGUAGE CPP #-} module PGF.Tokenizer ( mkTokenizer ) where +#if MIN_VERSION_base(4,8,0) import Prelude hiding ((<*>)) +#endif --import Data.List (intercalate) --import Test.QuickCheck import FST.TransducerInterface -- cgit v1.2.3