summaryrefslogtreecommitdiffstats
path: root/tbl_data.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-01-25 12:24:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-01-25 12:24:27 +0000
commitb57f25f5dcdaf894edfb23e0626b28e92f367c09 (patch)
tree35e10b6b0f19903741755952f8542f22b918f7dc /tbl_data.c
parent034659ec17379196818c8a75030d9d0de3daee04 (diff)
downloadmandoc-b57f25f5dcdaf894edfb23e0626b28e92f367c09.tar.gz
Since tbl_data() can now produce multiple spans, let parsebuf()
generate man(7) or mdoc(7) nodes for all these spans, not only for the last one. Restores the horizontal lines in the cpu(4/hppa) tables. ok kristaps@
Diffstat (limited to 'tbl_data.c')
-rw-r--r--tbl_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tbl_data.c b/tbl_data.c
index 75ed0612..c4883160 100644
--- a/tbl_data.c
+++ b/tbl_data.c
@@ -190,6 +190,7 @@ newspan(struct tbl_node *tbl, struct tbl_row *rp)
tbl->last_span = dp;
} else {
tbl->last_span = tbl->first_span = dp;
+ tbl->current_span = NULL;
dp->flags |= TBL_SPAN_FIRST;
}