summaryrefslogtreecommitdiffstats
path: root/tbl.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-02 12:04:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-02 12:04:23 +0000
commitac7b63b27fa2ab9e5ea8ee979a562bc9bdf27b12 (patch)
treea1527d88358aa4771b5d32a547fd6eff8882ba03 /tbl.c
parent18bac1d9d98fd8bc679a1de9e741fb25e542062e (diff)
downloadmandoc-ac7b63b27fa2ab9e5ea8ee979a562bc9bdf27b12.tar.gz
Add some final bits necessary in the upcoming -Tascii tbl stuff.
Diffstat (limited to 'tbl.c')
-rw-r--r--tbl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tbl.c b/tbl.c
index 57b8135b..79220448 100644
--- a/tbl.c
+++ b/tbl.c
@@ -153,6 +153,9 @@ tbl_end(struct tbl_node *tbl)
TBL_MSG(tbl, MANDOCERR_TBLNODATA, tbl->line, tbl->pos);
else
tbl_calc(tbl);
+
+ if (tbl->last_span)
+ tbl->last_span->flags |= TBL_SPAN_LAST;
}
static void