Make hsc2hs emit the full path name in {-# LINE #-} pagmas.
authorDuncan Coutts <duncan.coutts@worc.ox.ac.uk>
Sun, 22 Jan 2006 01:18:31 +0000 (01:18 +0000)
committerDuncan Coutts <duncan.coutts@worc.ox.ac.uk>
Sun, 22 Jan 2006 01:18:31 +0000 (01:18 +0000)
commit95c7525626b8802ec21036a82037e933caf0b17f
treedc98f4437a66b6e3bb9a4e5322cb53eddbe4c70e
parentc1ae3106dfcefbe55a9355c28bd0465564fa0162
Make hsc2hs emit the full path name in {-# LINE #-} pagmas.
For one thing this is the right thing to do anyway, it's what other tools do.
Secondly it allows haddock to produce accurate source code links.
ghc/utils/hsc2hs/Main.hs