Improve handling of next-line scope broken by end of file.
authorschwarze <schwarze@openbsd.org>
Fri, 8 Aug 2014 15:35:31 +0000 (15:35 +0000)
committerschwarze <schwarze@openbsd.org>
Fri, 8 Aug 2014 15:35:31 +0000 (15:35 +0000)
commit4740028476b1b5c496d726c76b2a56c8bb3495f7
tree7de0885603fe7f93f9b863095f3fb6f2846a02cf
parentbd39224a2803e9f26c41fd655bfcf69cbd581003
Improve handling of next-line scope broken by end of file.
Detect the condition earlier, report in the error message
which block is broken, and delete the broken block.
Consequently, empty section headers can no longer happen.
usr.bin/mandoc/man_macro.c
usr.bin/mandoc/man_validate.c