summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_state.c
AgeCommit message (Collapse)Author
2017-01-10unify names of AST node flags; no change of cpp outputIngo Schwarze
2015-10-30Do not access a NULL pointer when a .Bd macro has no arguments at all.Ingo Schwarze
Bug reported by krw@.
2015-10-21Move all mdoc(7) node validation done before child parsingIngo Schwarze
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.
2015-10-20In order to become able to generate syntax tree nodes on the roff(7)Ingo Schwarze
level, validation must be separated from parsing and rewinding. This first big step moves calling of the mdoc(7) post_*() functions out of the parser loop into their own mdoc_validate() pass, while using a new mdoc_state() module to make syntax tree state handling available to both the parser loop and the validation pass.