summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Pa/font.out_markdown
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-30 00:49:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-30 00:49:54 +0000
commit0cd2663fe9e76ba0ad357a566dc3416eccab70e5 (patch)
treebdd4ce48b3029984474e5d53e3fdbca949b317c9 /regress/mdoc/Pa/font.out_markdown
parentcf618db57fee5de46ee351c83eeb03292758f546 (diff)
downloadmandoc-0cd2663fe9e76ba0ad357a566dc3416eccab70e5.tar.gz
Cleanup, no functional change:
The struct roff_man used to be a bad mixture of internal parser state and public parsing results. Move the public results to the parsing result struct roff_meta, which is already public. Move the rest of struct roff_man to the parser-internal header roff_int.h. Since the validators need access to the parser state, call them from the top level parser during mparse_result() rather than from the main programs, also reducing code duplication. This keeps parser internal state out of thee main programs (five in mandoc portable) and out of eight formatters.
Diffstat (limited to 'regress/mdoc/Pa/font.out_markdown')
0 files changed, 0 insertions, 0 deletions