diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-31 04:55:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-31 04:55:46 +0000 |
commit | 04c844c9b370f59b5c07157eec6ba5a879b30218 (patch) | |
tree | 77c904bb370cdab856881030834ae9e529643308 /regress/man/UR/noUE.in | |
parent | 68183e3516ca405d803db497157cd8246b9b8bad (diff) | |
download | mandoc-04c844c9b370f59b5c07157eec6ba5a879b30218.tar.gz mandoc-04c844c9b370f59b5c07157eec6ba5a879b30218.tar.zst mandoc-04c844c9b370f59b5c07157eec6ba5a879b30218.zip |
Cleanup, minus 15 LOC, no functional change:
Simplify the way the man(7) and mdoc(7) validators are called.
Reset the parser state with a common function before calling them.
There is no need to again reset the parser state afterwards,
the parsers are no longer used after validation.
This allows getting rid of man_node_validate() and mdoc_node_validate()
as separate functions.
Diffstat (limited to 'regress/man/UR/noUE.in')
0 files changed, 0 insertions, 0 deletions