aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Doc.hs
Commit message (Collapse)AuthorAgeFilesLines
* Fix totality, unicode, examples, paragraph parsingSimon Hengel2014-01-121-47/+10
| | | | | | | | Also simplify specs and parsers while we're at it. Some parsers were made more generic. This commit is a part of GHC pre-merge squash, email fuuzetsu@fuuzetsu.co.uk if you need the full commit history.
* One pass parser and tests.Mateusz Kowalczyk2014-01-121-2/+18
| | | | | | | | We remove the HTML test as it is no longer necessary. We cover the test case in spec tests and other HTML tests but keeping this around fails: this is because the new parser has different semantics there. In fact, I suspect the original behaviour was a bug that wasn't caught/fixed but simply included as-is during the testing.
* Add spec tests.Mateusz Kowalczyk2013-08-251-2/+25
| | | | | This adds tests for all elements we can create during regular parsing. This also adds tests for text with unicode in it.
* Position the module header the same way everywhereDavid Waern2010-05-131-0/+1
| | | | Silly, but nice with some consistency :-)
* Rename HsDoc back into DocDavid Waern2009-11-281-0/+64