projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2001-06-14 12:50:05 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
utils
/
Outputable.lhs
diff --git
a/ghc/compiler/utils/Outputable.lhs
b/ghc/compiler/utils/Outputable.lhs
index
2dd48ce
..
b805da4
100644
(file)
--- a/
ghc/compiler/utils/Outputable.lhs
+++ b/
ghc/compiler/utils/Outputable.lhs
@@
-371,7
+371,7
@@
showCharLit c rest
-- of Char and String.
pprHsChar :: Int -> SDoc
-- of Char and String.
pprHsChar :: Int -> SDoc
-pprHsChar c | c > 0x10ffff = char '\\' <> show (fromIntegral c :: Word32)
+pprHsChar c | c > 0x10ffff = char '\\' <> text (show (fromIntegral c :: Word32))
| otherwise = text (show (chr c))
pprHsString :: FastString -> SDoc
| otherwise = text (show (chr c))
pprHsString :: FastString -> SDoc