diff options
author | Ian Lynagh <igloo@earth.li> | 2008-07-08 00:27:17 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-07-08 00:27:17 +0000 |
commit | 2002bc3d77b9e601287cd0499c0f815ebc992ea0 (patch) | |
tree | 609aaf2ef554f672d81e63409af0a9346702fe83 /compiler/parser | |
parent | 69adcec2c70afb3e940fae0a5c64589cfa09ad56 (diff) | |
download | haskell-2002bc3d77b9e601287cd0499c0f815ebc992ea0.tar.gz |
Get rid of compat/
Compat.Unicode is not utils/Unicode in the compiler.
We build the hpc package with the stage1 compiler.
Nothing else in the compat package was still used.
Diffstat (limited to 'compiler/parser')
-rw-r--r-- | compiler/parser/Lexer.x | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index b65668e2dd..2b86fd7331 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -60,11 +60,7 @@ import Data.Char ( chr, ord, isSpace ) import Data.Ratio import Debug.Trace -#if __GLASGOW_HASKELL__ >= 605 -import Data.Char ( GeneralCategory(..), generalCategory, isPrint, isUpper ) -#else -import Compat.Unicode ( GeneralCategory(..), generalCategory, isPrint, isUpper ) -#endif +import Unicode ( GeneralCategory(..), generalCategory, isPrint, isUpper ) } $unispace = \x05 -- Trick Alex into handling Unicode. See alexGetChar. |