diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-06 21:44:36 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-06 21:44:36 +0000 |
commit | d9c6b1be15e48dc43678c02ee4e86d280ea73046 (patch) | |
tree | dbfae09ad283679c266fadf26ab8dad7c02642b2 /man_validate.c | |
parent | 91ab27befd54e154790aa66b308e8be09659b580 (diff) | |
download | mandoc-d9c6b1be15e48dc43678c02ee4e86d280ea73046.tar.gz mandoc-d9c6b1be15e48dc43678c02ee4e86d280ea73046.tar.zst mandoc-d9c6b1be15e48dc43678c02ee4e86d280ea73046.zip |
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.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/man_validate.c b/man_validate.c index 0dc275a1..ee174d45 100644 --- a/man_validate.c +++ b/man_validate.c @@ -1,4 +1,4 @@ -/* $Id: man_validate.c,v 1.60 2011/01/17 00:21:29 schwarze Exp $ */ +/* $Id: man_validate.c,v 1.61 2011/02/06 21:44:36 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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: |