Move all mdoc(7) node validation done before child parsing
authorschwarze <schwarze@openbsd.org>
Wed, 21 Oct 2015 23:49:05 +0000 (23:49 +0000)
committerschwarze <schwarze@openbsd.org>
Wed, 21 Oct 2015 23:49:05 +0000 (23:49 +0000)
commit3e642ba02e8e4f862210e377476b6c3e12ae4cb0
tree761d7b0bc0418b2b66732b382e657f61589b04ed
parente123f381340b82bb7ccf2326148fe34569125006
Move all mdoc(7) node validation done before child parsing
to the new separate validation pass, except for a tiny bit
needed by the parser which goes to the new mdoc_state() module;
cleaner, simpler, and surprisingly also shorter by 15 lines.
usr.bin/mandoc/mdoc_state.c
usr.bin/mandoc/mdoc_validate.c
usr.bin/mandoc/roff.c
usr.bin/mandoc/roff_int.h