Handle multiline named haddock comments properly
authorThomas Miedema <thomasmiedema@gmail.com>
Thu, 25 Feb 2016 14:51:38 +0000 (15:51 +0100)
committerBen Gamari <ben@smart-cactus.org>
Thu, 25 Feb 2016 16:18:27 +0000 (17:18 +0100)
commit6350eb1126e29b93829de688623c91b772f6d9eb
tree64a4f107929e4d46621d3fc57013008dbcada6bb
parent67393977489942ef41f4f7d4a77076c15db18b92
Handle multiline named haddock comments properly

Fixes #10398 in a different way, thereby also fixing #11579.

I inverted the logic of the Bool argument to "worker", to hopefully make
it more self-explanatory.

Reviewers: austin, hvr, bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D1935
compiler/parser/Lexer.x
libraries/base/GHC/ExecutionStack.hs
testsuite/tests/ghc-api/T11579.hs [new file with mode: 0644]
testsuite/tests/ghc-api/T11579.stdout [new file with mode: 0644]
testsuite/tests/ghc-api/all.T