diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 12:56:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 12:56:12 +0000 |
commit | 98371213a082f1d2d7f5faac716b9818680d3140 (patch) | |
tree | 90725c19edf85e6b5b1d39a925dade5954465f72 /tree.c | |
parent | e544ee7c50ee6f579859cf0983518ab73f11cac1 (diff) | |
download | mandoc-98371213a082f1d2d7f5faac716b9818680d3140.tar.gz |
Add basic -Ttree support for tables.
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -88,6 +88,9 @@ print_mdoc(const struct mdoc_node *n, int indent) case (MDOC_TEXT): t = "text"; break; + case (MDOC_TBL): + t = "tbl"; + break; default: abort(); /* NOTREACHED */ @@ -120,6 +123,9 @@ print_mdoc(const struct mdoc_node *n, int indent) argc = n->args->argc; } break; + case (MDOC_TBL): + p = "tbl"; + break; case (MDOC_ROOT): p = "root"; break; @@ -179,6 +185,9 @@ print_man(const struct man_node *n, int indent) case (MAN_BODY): t = "block-body"; break; + case (MAN_TBL): + t = "tbl"; + break; default: abort(); /* NOTREACHED */ @@ -200,6 +209,9 @@ print_man(const struct man_node *n, int indent) case (MAN_ROOT): p = "root"; break; + case (MAN_TBL): + p = "tbl"; + break; default: abort(); /* NOTREACHED */ |