CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/02/05 20:41:44
Modified files:
usr.bin/mandoc : mdoc_html.c mdoc_man.c mdoc_term.c
mdoc_validate.c
Log message:
The .Nm macro does not only use the default name when it has no
argument, but also when the first argument is a child macro.
Arcane issue found in the FreeBSD cxgbetool(8) manual that Baptiste
Daroussin <bapt at FreeBSD> sent me long ago for a different reason.
While solving this, switch to the new technique of doing text
production in the validator, reducing code duplication in the
formatters, which also makes -Ttree output clearer.