aboutsummaryrefslogtreecommitdiff
path: root/macos
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-21 21:51:16 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-21 21:54:38 -0700
commit4aa84f40060884311324d3dd0a81ec22fdd9329f (patch)
treef0755a1f77597ac8fe497e2763ce868ab68421e5 /macos
parent204776c0c4d3cfa273985564b3f1ff5fb6485628 (diff)
downloadpandoc-4aa84f40060884311324d3dd0a81ec22fdd9329f.tar.gz
In rendering PandocParsecError, only print input at error location...
if the source name is `source` (i.e., the top level). Otherwise results will be misleading, since what readM does is to look up the source position of the error in the *original* input, which may not match the input used by parseFromString or in parsing from an included file. Closes #3865. Not a great fix, maybe there's something better that could be done, but this should at least avoid misleading messages.
Diffstat (limited to 'macos')
0 files changed, 0 insertions, 0 deletions