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.
Showing
- haddock.cabal 7 additions, 20 deletionshaddock.cabal
- html-test/ref/TitledPicture.html 36 additions, 26 deletionshtml-test/ref/TitledPicture.html
- html-test/src/DeprecationMessageParseError.hs 0 additions, 12 deletionshtml-test/src/DeprecationMessageParseError.hs
- html-test/src/TitledPicture.hs 7 additions, 0 deletionshtml-test/src/TitledPicture.hs
- html-test/src/Unicode.hs 0 additions, 0 deletionshtml-test/src/Unicode.hs
- src/Haddock.hs 2 additions, 4 deletionssrc/Haddock.hs
- src/Haddock/Backends/LaTeX.hs 29 additions, 18 deletionssrc/Haddock/Backends/LaTeX.hs
- src/Haddock/Backends/Xhtml/Decl.hs 7 additions, 8 deletionssrc/Haddock/Backends/Xhtml/Decl.hs
- src/Haddock/Backends/Xhtml/DocMarkup.hs 4 additions, 3 deletionssrc/Haddock/Backends/Xhtml/DocMarkup.hs
- src/Haddock/Doc.hs 18 additions, 2 deletionssrc/Haddock/Doc.hs
- src/Haddock/Interface/LexParseRn.hs 5 additions, 6 deletionssrc/Haddock/Interface/LexParseRn.hs
- src/Haddock/Interface/ParseModuleHeader.hs 3 additions, 6 deletionssrc/Haddock/Interface/ParseModuleHeader.hs
- src/Haddock/InterfaceFile.hs 10 additions, 0 deletionssrc/Haddock/InterfaceFile.hs
- src/Haddock/Lex.x 0 additions, 255 deletionssrc/Haddock/Lex.x
- src/Haddock/Parse.y 0 additions, 171 deletionssrc/Haddock/Parse.y
- src/Haddock/Parser.hs 435 additions, 0 deletionssrc/Haddock/Parser.hs
- src/Haddock/Types.hs 13 additions, 20 deletionssrc/Haddock/Types.hs
- src/Haddock/Utf8.hs 74 additions, 0 deletionssrc/Haddock/Utf8.hs
- test/Haddock/ParseSpec.hs 321 additions, 111 deletionstest/Haddock/ParseSpec.hs
- test/Haddock/Utf8Spec.hs 15 additions, 0 deletionstest/Haddock/Utf8Spec.hs
Loading
Please register or sign in to comment