summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_validate.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2009-08-22 19:43:33 +0000
committerschwarze <schwarze@openbsd.org>2009-08-22 19:43:33 +0000
commit5df9f685d180b474f60e06ef0c4290a738e66104 (patch)
tree66a07726ff5220da2e9b703529d9667f1362dec3 /usr.bin/mandoc/man_validate.c
parentsync to 1.9.0: like in groff, do not assert vspace between two .Sh macros (diff)
downloadwireguard-openbsd-5df9f685d180b474f60e06ef0c4290a738e66104.tar.xz
wireguard-openbsd-5df9f685d180b474f60e06ef0c4290a738e66104.zip
sync to 1.9.0: polishing the core code of mdoc macro handling
1) If a macro is not parsed, do not parse it. Of course, without parsing it, we cannot produce "macro-like parameter" warnings, but these were useless anyway. 2) If a macro is not callable, do not print a useless warning when it occurs as a parameter, just display the raw characters. 3) Below .Bl -column, check whether macros are callable. 4) Like groff, allow whitespace after the initial dot on macro lines.
Diffstat (limited to 'usr.bin/mandoc/man_validate.c')
0 files changed, 0 insertions, 0 deletions