aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Lex.x
Commit message (Collapse)AuthorAgeFilesLines
* support both kinds of enumerated lists in doc markupMark Lentczner2010-08-261-0/+1
| | | | | | | | The documentation for Haddock says enumerated lists can use either of (1) first item 2. second item The second form wasn't actually supported
* Fix build with ghc < 6.13David Waern2010-07-241-0/+4
|
* Follow mkPState argument order changeIan Lynagh2010-07-061-1/+1
|
* Fix #112David Waern2010-04-101-14/+14
| | | | | | | | No link was generated for 'Addr#' in a doc comment. The reason was simply that the identifier didn't parse. We were using parseIdentifier from the GHC API, with a parser state built from 'defaultDynFlags'. If we pass the dynflags of the module instead, the right options are turned on on while parsing the identifer (in this case -XMagicHash), and the parse succeeds.
* Let parsing fails on paragraphs that are immediately followed by ansimon.hengel2010-04-081-0/+1
| | | | | | example This is more consistent with the way we treat code blocks.
* Fix #118David Waern2010-04-081-3/+3
| | | | | Avoid being too greedy when lexing URL markup (<..>), in order to allow multiple URLs on the same line. Do the same thing with <<..>> and #..#.
* Fix #75David Waern2010-04-071-1/+1
| | | | Add colons to the $ident character set.
* Propagate source positions from Lex.x to Parse.yDavid Waern2010-04-071-19/+24
|
* Add markup support for interactive examplessimon.hengel2010-04-021-0/+14
|
* Move H.Interface.Parse/Lex to H.Parse/LexDavid Waern2009-11-281-0/+172
These are not just used to build Interfaces.