[Haddock] [haddock] #20: We don't handle non-ASCII characters in doc comments

haddock haddock at projects.haskell.org
Sat Nov 20 18:18:43 EST 2010


#20: We don't handle non-ASCII characters in doc comments
-------------------+--------------------------------------------------------
Reporter:  waern   |        Owner:     
    Type:  defect  |       Status:  new
Priority:  major   |    Milestone:     
 Version:          |   Resolution:     
Keywords:          |  
-------------------+--------------------------------------------------------
Comment (by waern):

 Replying to [comment:5 ppavel]:
 > I vote for this. I'm willing to hack but will need some directions to
 get started

 Hi Pavel,

 I've looked at this briefly and I think it could be related to the fact
 that we use `alexGetChar` in the GHC lexer where we should `alexGetChar'`
 instead. You could try changing that and see if it helps.

 The lexer is in `compiler/parser/Lexer.x` in the GHC source tree. Look for
 functions that read Haddock comments such as `multiline_doc_comment`,
 `nested_doc_comment`, etc.

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/20#comment:6>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list