aboutsummaryrefslogtreecommitdiff
path: root/latex-test/src/Simple/Simple.hs
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-06-05 10:47:16 -0700
committerSimon Jakobi <simon.jakobi@gmail.com>2018-06-13 23:39:30 +0200
commit254de3010dddb06bc1dacf4c029a9e8f30ff1600 (patch)
tree57c99c3873cc6cfc415ff6e44960e327492a4da0 /latex-test/src/Simple/Simple.hs
parentca619464b74c3f55a34406f0a555f7d82c27caae (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 'latex-test/src/Simple/Simple.hs')
0 files changed, 0 insertions, 0 deletions