mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-15 15:59:32 -06:00
Restore compatibility with ghc-7.4
With ghc-7.4 'import M hiding (x)' causes an error if M does not export x...
This commit is contained in:
@@ -54,7 +54,9 @@ module Data.Binary.Builder (
|
||||
|
||||
) where
|
||||
|
||||
#if MIN_VERSION_base(4,8,0)
|
||||
import Prelude hiding (empty)
|
||||
#endif
|
||||
import Foreign(Word,Word8,Ptr,Storable,ForeignPtr,withForeignPtr,poke,plusPtr,sizeOf)
|
||||
import System.IO.Unsafe(unsafePerformIO)
|
||||
import Data.Monoid
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user