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:
102e3b7
)
[project @ 1999-02-05 14:28:34 by sof]
author
sof
<unknown>
Fri, 5 Feb 1999 14:28:34 +0000
(14:28 +0000)
committer
sof
<unknown>
Fri, 5 Feb 1999 14:28:34 +0000
(14:28 +0000)
Add initial empty line to a block of errors/warnings
ghc/compiler/main/ErrUtils.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/ErrUtils.lhs
b/ghc/compiler/main/ErrUtils.lhs
index
39bdd00
..
96c7b67
100644
(file)
--- a/
ghc/compiler/main/ErrUtils.lhs
+++ b/
ghc/compiler/main/ErrUtils.lhs
@@
-59,7
+59,7
@@
dontAddErrLoc title rest_of_err_msg
pprBagOfErrors :: Bag ErrMsg -> SDoc
pprBagOfErrors bag_of_errors
- = vcat [p $$ text "" | (_,p) <- sorted_errs ]
+ = text "" $$ vcat [p $$ text "" | (_,p) <- sorted_errs ]
where
bag_ls = bagToList bag_of_errors
sorted_errs = sortLt occ'ed_before bag_ls