diff options
| author | hallgren <hallgren@chalmers.se> | 2015-02-16 15:41:38 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2015-02-16 15:41:38 +0000 |
| commit | 956b721048d589d0901d9c70ebbf859e54d09f31 (patch) | |
| tree | ff559d53d0879512aa5e2d0bf61a849b58f79391 /src/runtime | |
| parent | 54ae70a81e338fd05397ab22890b3ca36284be54 (diff) | |
Restore compatibility with ghc-7.4
With ghc-7.4 'import M hiding (x)' causes an error if M does not export x...
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/haskell/PGF/Tokenizer.hs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
