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:
e48618c
)
SLIT -> sLit in Prety.lhs
author
Ian Lynagh
<igloo@earth.li>
Sat, 12 Apr 2008 12:00:04 +0000
(12:00 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 12 Apr 2008 12:00:04 +0000
(12:00 +0000)
compiler/utils/Pretty.lhs
patch
|
blob
|
history
diff --git
a/compiler/utils/Pretty.lhs
b/compiler/utils/Pretty.lhs
index
bebb6b2
..
94173ab
100644
(file)
--- a/
compiler/utils/Pretty.lhs
+++ b/
compiler/utils/Pretty.lhs
@@
-175,8
+175,6
@@
module Pretty (
render, fullRender, printDoc, showDocWith
) where
render, fullRender, printDoc, showDocWith
) where
-#include "HsVersions.h"
-
import BufWrite
import FastString
import FastTypes
import BufWrite
import FastString
import FastTypes
@@
-974,7
+972,7
@@
display mode page_width ribbon_width txt end doc
lay2 _ _ = panic "display/lay2: Unhandled case"
-- optimise long indentations using LitString chunks of 8 spaces
lay2 _ _ = panic "display/lay2: Unhandled case"
-- optimise long indentations using LitString chunks of 8 spaces
- indent n r | n >=# _ILIT(8) = LStr SLIT(" ") (_ILIT(8)) `txt`
+ indent n r | n >=# _ILIT(8) = LStr (sLit " ") (_ILIT(8)) `txt`
indent (n -# _ILIT(8)) r
| otherwise = Str (spaces n) `txt` r
in
indent (n -# _ILIT(8)) r
| otherwise = Str (spaces n) `txt` r
in