
Dear all I'm trying to locally build the documentation for the haskell-src-exts package and running into a bit of bother. If I run: cabal haddock I get the error: haddock: parse error in doc string so: cabal haddock -v Doesn't really provide any extra information, it gives me the exact haddock command-line used but there is still no way (I can see) of obtaining the source file containing the parse error. So I downloaded via darcs the latest haddock source code and installed that but I get the exact same error message. I tried grepping in the haddock source code for that particular error message (and portions of it) but I couldn't find it. Finally I tried running haddock on a single source file: haddock Language/Haskell/Exts.hs and even this gets the exact same error message, which is somewhat bizarre since that file does not contain any documentation strings. Anyone have any ideas? regards allan -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

On Thu, Nov 27, 2008 at 11:52:04AM +0000, allan wrote:
I'm trying to locally build the documentation for the haskell-src-exts package and running into a bit of bother. If I run: cabal haddock I get the error: haddock: parse error in doc string
The problem is that several of the modules (not Language.Haskell.Exts, but modules it imports) have headers containing a field "Original" that haddock doesn't recognize. Of course the lack of any location information in the error message is a deficiency in haddock.

Ross Paterson wrote:
On Thu, Nov 27, 2008 at 11:52:04AM +0000, allan wrote:
I'm trying to locally build the documentation for the haskell-src-exts package and running into a bit of bother. If I run: cabal haddock I get the error: haddock: parse error in doc string
The problem is that several of the modules (not Language.Haskell.Exts, but modules it imports) have headers containing a field "Original" that haddock doesn't recognize.
a ha, Thank you, that has fixed the problem. regards allan -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
participants (2)
-
allan
-
Ross Paterson