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:
384dc99
)
remove extraneous "+1"; column numbers start at zero
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 17 Apr 2007 14:35:12 +0000
(14:35 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 17 Apr 2007 14:35:12 +0000
(14:35 +0000)
compiler/deSugar/Coverage.lhs
patch
|
blob
|
history
diff --git
a/compiler/deSugar/Coverage.lhs
b/compiler/deSugar/Coverage.lhs
index
8624780
..
ce975fe
100644
(file)
--- a/
compiler/deSugar/Coverage.lhs
+++ b/
compiler/deSugar/Coverage.lhs
@@
-553,7
+553,7
@@
mkHpcPos pos
start = srcSpanStart pos
end = srcSpanEnd pos
hpcPos = toHpcPos ( srcLocLine start
- , srcLocCol start + 1
+ , srcLocCol start
, srcLocLine end
, srcLocCol end
)