diff options
author | 2014-09-06 22:39:36 +0000 | |
---|---|---|
committer | 2014-09-06 22:39:36 +0000 | |
commit | 1e75b893a49c0cbdd978438e15c5a8fa8aebb510 (patch) | |
tree | bf90cf9b636235019a1d66752a1e2e08e9d832dd /mandoc.db.5 | |
parent | a828d911328c6ac46d0f8c2f2d99e9f0bb46e21d (diff) | |
download | mandoc-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 'mandoc.db.5')
0 files changed, 0 insertions, 0 deletions