summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 16:10:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 16:10:40 +0000
commitd84dbf74b948c2ca03a405c62aaddd91c404e66e (patch)
treecf61eba08e8d1e40418b9a0e2391cd6c0fad6d12 /roff.c
parent11a4a49536978db711f68cc010fec41f76c2f970 (diff)
downloadmandoc-d84dbf74b948c2ca03a405c62aaddd91c404e66e.tar.gz
Raise an error if a table is closed without data.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roff.c b/roff.c
index 56202846..b0a373cd 100644
--- a/roff.c
+++ b/roff.c
@@ -1138,7 +1138,7 @@ roff_T_(ROFF_ARGS)
if (NULL == r->tbl)
(*r->msg)(MANDOCERR_NOSCOPE, r->data, ln, ppos, NULL);
else
- tbl_restart(r->tbl);
+ tbl_restart(ppos, ln, r->tbl);
return(ROFF_IGN);
}