summaryrefslogtreecommitdiffstats
path: root/tbl_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-11 14:12:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-11 14:12:01 +0000
commitfa73a21290e351913eadd2b70b4471fd30829483 (patch)
treecb524df5813e538c91ca612c4110c9e4291a7eb9 /tbl_term.c
parentc68f7a36a22b06ab0bb6afcd32d531d893abbc57 (diff)
downloadmandoc-fa73a21290e351913eadd2b70b4471fd30829483.tar.gz
Add support for "^" vertical spanners. Unlike GNU tbl, raise
error-class messages when data is being ignored by specifying it in "^" cells (either as-is or in blocks). Also note again that horizontal spanners aren't really supported...
Diffstat (limited to 'tbl_term.c')
-rw-r--r--tbl_term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tbl_term.c b/tbl_term.c
index d42483c3..dc6ff8d9 100644
--- a/tbl_term.c
+++ b/tbl_term.c
@@ -305,6 +305,9 @@ tbl_data(struct termp *tp, const struct tbl *tbl,
case (TBL_CELL_NUMBER):
tbl_number(tp, tbl, dp, col);
break;
+ case (TBL_CELL_DOWN):
+ tbl_char(tp, ASCII_NBRSP, col->width);
+ break;
default:
abort();
/* NOTREACHED */