CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2010/11/28 18:44:41

Modified files:
        usr.bin/mandoc : man.c 

Log message:
Downgrade the easier of the two cases of MANDOCERR_SYNTLINESCOPE
to MANDOCERR_LINESCOPE, i.e. from FATAL to ERROR.

That is, when an element next line scope is empty except for one
or more NSCOPED macros (like in .B .br .br .B), throw away the
empty element including its NSCOPED children such that the parser
can prod on.

While here, improve the error message and tell the user which element
has been thrown away.

Reply via email to