summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2010-05-16 00:54:03 +0000
committerschwarze <schwarze@openbsd.org>2010-05-16 00:54:03 +0000
commitf673a3c7f56af2337ea2de9b85dcf81ac59dc5c4 (patch)
tree335837a61651571ef0035e6ebe4688dd663eadae /lib/libc
parentmdoc_isdelim now returns enum mdelim, not int any more; (diff)
downloadwireguard-openbsd-f673a3c7f56af2337ea2de9b85dcf81ac59dc5c4.tar.xz
wireguard-openbsd-f673a3c7f56af2337ea2de9b85dcf81ac59dc5c4.zip
In theory, Kristaps never intended to write a roff parser,
but in practice, most real legacy man(7)uals are using so much low level roff that we can't really get away without at least partially handling some roff instructions. As doing this in man(7) only has become messy and as even some mdoc(7) pages need it, start a minimal partial roff preprocessor. As a first step, move handling of .am[i], .de[i] and .ig there. Do not use the roff preprocessor for new manuals! Now that we have three main parser libraries - roff, man and mdoc - each one having its own error handling is becoming messy, too. Thus, start unifying message handling in one central place, introducing a new generic function mmsg(). coded by kristaps@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions