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:
2fe38b5
)
Whitespace only
author
Ian Lynagh
<igloo@earth.li>
Sat, 28 Nov 2009 15:07:31 +0000
(15:07 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 28 Nov 2009 15:07:31 +0000
(15:07 +0000)
compiler/basicTypes/SrcLoc.lhs
patch
|
blob
|
history
diff --git
a/compiler/basicTypes/SrcLoc.lhs
b/compiler/basicTypes/SrcLoc.lhs
index
35c78a8
..
20e1bca
100644
(file)
--- a/
compiler/basicTypes/SrcLoc.lhs
+++ b/
compiler/basicTypes/SrcLoc.lhs
@@
-136,7
+136,7
@@
srcLocCol _other = panic "srcLocCol: unknown col"
advanceSrcLoc :: SrcLoc -> Char -> SrcLoc
advanceSrcLoc (SrcLoc f l _) '\n' = SrcLoc f (l + 1) 1
advanceSrcLoc (SrcLoc f l c) _ = SrcLoc f l (c + 1)
-advanceSrcLoc loc _ = loc -- Better than nothing
+advanceSrcLoc loc _ = loc -- Better than nothing
\end{code}
%************************************************************************