projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00d3e8
)
[project @ 2001-04-27 11:23:48 by simonmar]
author
simonmar
<unknown>
Fri, 27 Apr 2001 11:23:48 +0000
(11:23 +0000)
committer
simonmar
<unknown>
Fri, 27 Apr 2001 11:23:48 +0000
(11:23 +0000)
er.. wibble
ghc/compiler/utils/Outputable.lhs
patch
|
blob
|
history
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
-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