[#]
http://marc.info/?l=openbsd-cvs&m=140751466119171&w=2
openbsd-cvs(obsdave,2) — All
2014-08-08 20:55:24
Module name: src
Changes by: schwarze@cvs.openbsd.org 2014/08/08 10:17:09
Modified files:
usr.bin/mandoc : man_validate.c mandoc.h mandocdb.c mdoc.c
mdoc_html.c mdoc_man.c mdoc_term.c
mdoc_validate.c read.c
Log message:
Bring the handling of defective prologues even closer to groff,
in particular relaxing the distinction between prologue and body
and further improving messages.
* The last .Dd wins and the last .Os wins, even in the body.
* The last .Dt before the first body macro wins.
* Missing title in .Dt defaults to UNTITLED. Warn about it.
* Missing section in .Dt does not default to 1. But warn about it.
* Do not warn multiple times about the same mdoc(7) prologue macro.
* Warn about missing .Os.
* Incomplete .TH defaults to empty strings. Warn about it.