diff options
author | 2009-08-22 19:43:33 +0000 | |
---|---|---|
committer | 2009-08-22 19:43:33 +0000 | |
commit | 5df9f685d180b474f60e06ef0c4290a738e66104 (patch) | |
tree | 66a07726ff5220da2e9b703529d9667f1362dec3 /usr.bin/mandoc/man_validate.c | |
parent | sync to 1.9.0: like in groff, do not assert vspace between two .Sh macros (diff) | |
download | wireguard-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