summaryrefslogtreecommitdiff
path: root/usr.bin/comm
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2018-12-30 00:48:49 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2018-12-30 00:48:49 +0000
commit6b33e0a95d108068486691c6796a071893276f5b (patch)
tree82df7ddc258a743a95c0fa6698c17708565e3884 /usr.bin/comm
parenta8115538de1b74ab4231a9656e685f6edb7244fe (diff)
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 'usr.bin/comm')
0 files changed, 0 insertions, 0 deletions