In the validators, translate obsolete macro aliases (Lp, Ot, LP, P)
authorschwarze <schwarze@openbsd.org>
Mon, 3 Dec 2018 21:00:06 +0000 (21:00 +0000)
committerschwarze <schwarze@openbsd.org>
Mon, 3 Dec 2018 21:00:06 +0000 (21:00 +0000)
commit7c539ecbb26b558e22990951d3f92863abc47ab8
tree58fef690d527c725a0a7aa05b8d2709a138e9868
parent7bf6be327c1c7d49eac023d0f926857378c1c80d
In the validators, translate obsolete macro aliases (Lp, Ot, LP, P)
to the standard forms (Pp, Ft, PP) up front, such that later code
does not need to look for the obsolete versions.
This reduces the risk of incomplete handling.
regress/usr.bin/mandoc/man/PP/args.out_lint
usr.bin/mandoc/man_html.c
usr.bin/mandoc/man_term.c
usr.bin/mandoc/man_validate.c
usr.bin/mandoc/mdoc_html.c
usr.bin/mandoc/mdoc_man.c
usr.bin/mandoc/mdoc_markdown.c
usr.bin/mandoc/mdoc_term.c
usr.bin/mandoc/mdoc_validate.c