Get rid of the useless FATAL error "child violates parent syntax".
authorschwarze <schwarze@openbsd.org>
Fri, 8 Aug 2014 15:26:28 +0000 (15:26 +0000)
committerschwarze <schwarze@openbsd.org>
Fri, 8 Aug 2014 15:26:28 +0000 (15:26 +0000)
commit8d5916b51305657eb92b61f1716bda0cbaa0fb45
tree59ee6a0d04b436fa6cf4351ff6b52fc02f641abc
parentac1f49d01ceff2a47571d14f0fdc829b542b4eee
Get rid of the useless FATAL error "child violates parent syntax".
When finding items outside lists, simply skip them and throw an ERROR.
Handle subsections before the first section instead of bailing out.
usr.bin/mandoc/mandoc.h
usr.bin/mandoc/mdoc_macro.c
usr.bin/mandoc/mdoc_term.c
usr.bin/mandoc/mdoc_validate.c
usr.bin/mandoc/read.c