aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-14 02:16:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-14 02:16:21 +0000
commit0ef6626fcc16277d2fefb32e1830dfba3df5defd (patch)
tree28b005709666ea9d298454696f54c14e4aa2ae0b /mandoc.c
parent0dd2eb826a1c733669d3ad1d9ef31b4e90ddb3f0 (diff)
downloadmandoc-0ef6626fcc16277d2fefb32e1830dfba3df5defd.tar.gz
mandoc-0ef6626fcc16277d2fefb32e1830dfba3df5defd.tar.zst
mandoc-0ef6626fcc16277d2fefb32e1830dfba3df5defd.zip
Fold mparse_parse_buffer() into mparse_readfd(), making the code
considerably more readable. This is possible now that i finally deleted mparse_readmem() from mandoc portable - an unused function that never existed in OpenBSD. This cleanup already made me find a minor bug: after a recursive parse, restoring the line number of the parent file was forgotten. This is fixed now.
Diffstat (limited to 'mandoc.c')
0 files changed, 0 insertions, 0 deletions