diff options
author | 2011-10-06 22:29:12 +0000 | |
---|---|---|
committer | 2011-10-06 22:29:12 +0000 | |
commit | 04d794422a19264dc0a985a9b145b3748fc69862 (patch) | |
tree | d3a4862033902d2b0715fbc967dad707f873374a /tree.c | |
parent | 2b6476580cd1b6473035ea2e2276e33efcb7fa74 (diff) | |
download | mandoc-04d794422a19264dc0a985a9b145b3748fc69862.tar.gz mandoc-04d794422a19264dc0a985a9b145b3748fc69862.tar.zst mandoc-04d794422a19264dc0a985a9b145b3748fc69862.zip |
If -Tman is specified and input is -man, echo the preprocessed (`so'
replaced by file) input. This replaces earlier behaviour of doing
nothing, which I found unexpected (mandoc should always output).
This requires a buffer in read.c that saves the input lines before being
parsed, with a special hook if `so' is invoked. This buffer is just
flushed to output if -mman is the input.
While mucking around doing this, I also alpha-ordered the mandoc.h
functions.
Ok schwarze@, with no screaming when the polished patch was published.
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions