summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-10-22 21:54:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-10-22 21:54:23 +0000
commit54ffa6b6bcb97f97cc0a3604078eb63aa8c759ef (patch)
treedc900d7df0c1cae2b95adfcc260ada272f57839b /main.c
parent9953b888e25942fa632d3e754daa293a4239d4c5 (diff)
downloadmandoc-54ffa6b6bcb97f97cc0a3604078eb63aa8c759ef.tar.gz
move man(7) validation into the dedicated validation phase, too
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 8ba7da50..7a720758 100644
--- a/main.c
+++ b/main.c
@@ -721,6 +721,7 @@ parse(struct curparse *curp, int fd, const char *file)
}
}
if (man->macroset == MACROSET_MAN) {
+ man_validate(man);
switch (curp->outtype) {
case OUTT_HTML:
html_man(curp->outdata, man);