diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 12:59:17 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 12:59:17 +0000 |
commit | 131de1ee113c08ea304f934c38488baa917375f6 (patch) | |
tree | 5f9c4e393a821b0b372d6dcc62bd76de3c8850da /mdoc.c | |
parent | 98371213a082f1d2d7f5faac716b9818680d3140 (diff) | |
download | mandoc-131de1ee113c08ea304f934c38488baa917375f6.tar.gz |
Add -man support for tables. Like -mdoc, this consists of an
external-facing function man_addspan() (this required shuffling around
the descope routine) and hooks elsewhere.
Also fixed mdoc.c's post-validation of tables.
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -391,6 +391,8 @@ node_append(struct mdoc *mdoc, struct mdoc_node *p) mdoc->last = p; switch (p->type) { + case (MDOC_TBL): + /* FALLTHROUGH */ case (MDOC_TEXT): if ( ! mdoc_valid_post(mdoc)) return(0); |