aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug3.hs
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-06-05 10:47:16 -0700
committerAlexander Biehl <alexbiehl@gmail.com>2018-06-05 19:47:16 +0200
commitbea565ec5a029b8c19965aa22f34c23a112c0a7f (patch)
treea0a93b524acf85676c4e46206f73ce2a7a2aaa0f /html-test/src/Bug3.hs
parentee1ce11ceaf41d05973bb2c9ca7abd41a2ad078c (diff)
Improve hyperlinker's 'spanToNewline' (#846)
'spanToNewline' is used to help break apart the source into lines which can then be partioned into CPP and non-CPP chunks. It is important that 'spanToNewline' not break apart tokens, so it needs to properly handle things like * block comments, possibly nested * string literals, possibly multi-line * CPP macros, possibly multi-line String literals in particular were not being properly handled. The fix is to to fall back in 'Text.Read.lex' to help lex things that are not comments. Fixes #837.
Diffstat (limited to 'html-test/src/Bug3.hs')
0 files changed, 0 insertions, 0 deletions