summaryrefslogtreecommitdiff
path: root/ghc/compiler/parser
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-03-29 11:59:13 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-03-29 11:59:13 +0000
commit274a7b1ab7cf30fd1ceaddd02f991eaf694cc37c (patch)
treea89fd8d821b89975e4605860ecdc464f51d44f0b /ghc/compiler/parser
parentc117f1be1a1923f5a87369d738cca562c3481fcc (diff)
downloadhaskell-274a7b1ab7cf30fd1ceaddd02f991eaf694cc37c.tar.gz
in stage1, we should get isPrint and isUpper from Compat.Unicode, not Data.Char
Diffstat (limited to 'ghc/compiler/parser')
-rw-r--r--ghc/compiler/parser/Lexer.x6
1 files changed, 3 insertions, 3 deletions
diff --git a/ghc/compiler/parser/Lexer.x b/ghc/compiler/parser/Lexer.x
index 31acaa0409..4c1b48efc0 100644
--- a/ghc/compiler/parser/Lexer.x
+++ b/ghc/compiler/parser/Lexer.x
@@ -44,14 +44,14 @@ import Ctype
import Util ( maybePrefixMatch, readRational )
import DATA_BITS
-import Data.Char
+import Data.Char ( chr )
import Ratio
--import TRACE
#if __GLASGOW_HASKELL__ >= 605
-import Data.Char ( GeneralCategory(..), generalCategory )
+import Data.Char ( GeneralCategory(..), generalCategory, isPrint, isUpper )
#else
-import Compat.Unicode ( GeneralCategory(..), generalCategory )
+import Compat.Unicode ( GeneralCategory(..), generalCategory, isPrint, isUpper )
#endif
}