summaryrefslogtreecommitdiffstats
path: root/man_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-06 21:44:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-06 21:44:36 +0000
commitda98c7539daf0f47de95ebfe6c514b48047dcea0 (patch)
treeb4f7ba288e2a85dd1e7115c14a8e0a8f58f8ba30 /man_validate.c
parent858bb68c9059fe5b8f8f613dab2761233ff36ba7 (diff)
downloadmandoc-da98c7539daf0f47de95ebfe6c514b48047dcea0.tar.gz
Add initial libmdoc and libman top-most machinery for accepting TBL
directives. For now this will just ignore them (except for -Ttree, which just notes that an EQN's been accepted).
Diffstat (limited to 'man_validate.c')
-rw-r--r--man_validate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/man_validate.c b/man_validate.c
index 4afaa758..885814af 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -121,6 +121,8 @@ man_valid_pre(struct man *m, struct man_node *n)
/* FALLTHROUGH */
case (MAN_ROOT):
/* FALLTHROUGH */
+ case (MAN_EQN):
+ /* FALLTHROUGH */
case (MAN_TBL):
return(1);
default: