summaryrefslogtreecommitdiff
path: root/compiler/parser/Lexer.x
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-11-08 14:34:23 +0000
committerIan Lynagh <igloo@earth.li>2008-11-08 14:34:23 +0000
commitfb8bf8536a4b72b59cb7a3fc26c5787f3b80348d (patch)
treec97a1e0e828d2437ecf8a4d982db364925406f1a /compiler/parser/Lexer.x
parentb55b4a3e97fe740dc480cfe815b0b77950eb78c3 (diff)
downloadhaskell-fb8bf8536a4b72b59cb7a3fc26c5787f3b80348d.tar.gz
Remove the GHC 6.4 unicode compat stuff; we can now just use Data.Char
Diffstat (limited to 'compiler/parser/Lexer.x')
-rw-r--r--compiler/parser/Lexer.x4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 0dd36ff050..952196af75 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -70,11 +70,9 @@ import Util ( maybePrefixMatch, readRational )
import Control.Monad
import Data.Bits
-import Data.Char ( chr, ord, isSpace )
+import Data.Char
import Data.Ratio
import Debug.Trace
-
-import Unicode ( GeneralCategory(..), generalCategory, isPrint, isUpper )
}
$unispace = \x05 -- Trick Alex into handling Unicode. See alexGetChar.