[commit: haddock] master: One pass parser and tests. (bb6cef2)

git at git.haskell.org git at git.haskell.org
Sun Jan 12 20:51:30 UTC 2014


Repository : ssh://git@git.haskell.org/haddock

On branch  : master
Link       : http://git.haskell.org/haddock.git/commitdiff/bb6cef20b82ef7a7f2d49f3ef6dc1a7ce880b5f0

>---------------------------------------------------------------

commit bb6cef20b82ef7a7f2d49f3ef6dc1a7ce880b5f0
Author: Mateusz Kowalczyk <fuuzetsu at fuuzetsu.co.uk>
Date:   Tue Jul 9 14:24:10 2013 +0100

    One pass parser and tests.
    
    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.


>---------------------------------------------------------------

bb6cef20b82ef7a7f2d49f3ef6dc1a7ce880b5f0
 haddock.cabal                                      |   27 +-
 html-test/ref/DeprecationMessageParseError.html    |  101 -----
 .../ref/{IgnoreExports.html => TitledPicture.html} |   28 +-
 html-test/src/DeprecationMessageParseError.hs      |   12 -
 html-test/src/TitledPicture.hs                     |    7 +
 html-test/src/{Unicode.hs.disabled => Unicode.hs}  |    0
 src/Haddock.hs                                     |    6 +-
 src/Haddock/Backends/LaTeX.hs                      |   13 +-
 src/Haddock/Backends/Xhtml/Decl.hs                 |    3 +-
 src/Haddock/Backends/Xhtml/DocMarkup.hs            |    7 +-
 src/Haddock/Doc.hs                                 |   20 +-
 src/Haddock/Interface/LexParseRn.hs                |   11 +-
 src/Haddock/Interface/ParseModuleHeader.hs         |    9 +-
 src/Haddock/InterfaceFile.hs                       |   10 +
 src/Haddock/Lex.x                                  |  255 ------------
 src/Haddock/Parse.y                                |  171 --------
 src/Haddock/Parser.hs                              |  435 ++++++++++++++++++++
 src/Haddock/Types.hs                               |   31 +-
 src/Haddock/Utf8.hs                                |   74 ++++
 test/Haddock/ParseSpec.hs                          |  432 ++++++++++++++-----
 test/Haddock/Utf8Spec.hs                           |   15 +
 21 files changed, 945 insertions(+), 722 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc bb6cef20b82ef7a7f2d49f3ef6dc1a7ce880b5f0


More information about the ghc-commits mailing list