aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Lex.x
Commit message (Collapse)AuthorAgeFilesLines
* Alex generates BangPatterns, so make Lex.x accept themsimonpj2010-11-151-1/+0
| | | | (It'd be better for Alex to generate this pragma.)
* Add BangPatterns to alex and happy source filesDavid Waern2010-11-211-0/+1
|
* Remove code for ghc < 7David Waern2010-11-151-4/+0
|
* follow changes in the GHC APISimon Marlow2010-10-271-0/+4
|
* Replace ghci> with >>> in example syntaxDavid Waern2010-09-011-3/+3
|
* WibbleDavid Waern2010-09-011-1/+1
|
* 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.