aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-09-06 22:39:36 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-09-06 22:39:36 +0000
commit1e75b893a49c0cbdd978438e15c5a8fa8aebb510 (patch)
treebf90cf9b636235019a1d66752a1e2e08e9d832dd /configure
parenta828d911328c6ac46d0f8c2f2d99e9f0bb46e21d (diff)
downloadmandoc-1e75b893a49c0cbdd978438e15c5a8fa8aebb510.tar.gz
mandoc-1e75b893a49c0cbdd978438e15c5a8fa8aebb510.tar.zst
mandoc-1e75b893a49c0cbdd978438e15c5a8fa8aebb510.zip
Move main format autodetection from the parser dispatcher to the
roff parser where .Dd and .TH are already detected, anyway. This improves robustness because it correctly handles whitespace or an alternate control character before Dd. In the parser dispatcher, provide a fallback looking ahead in the input buffer instead of always assuming man(7). This corrects autodetection when Dd is preceded by other macros or macro-like handled requests like .ll. Triggered by reports from Daniel Levai about issues on Slackware Linux.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions