diff options
author | 2011-01-01 16:10:40 +0000 | |
---|---|---|
committer | 2011-01-01 16:10:40 +0000 | |
commit | 6fe32c3b53980dd4c549b459bbf7efae0b6352b9 (patch) | |
tree | 0513dcebbcda433b32256d39923b9b24bb7bfe40 /roff.c | |
parent | 52a50fec0924869c52803daed1f1d5dbf5f108af (diff) | |
download | mandoc-6fe32c3b53980dd4c549b459bbf7efae0b6352b9.tar.gz mandoc-6fe32c3b53980dd4c549b459bbf7efae0b6352b9.tar.zst mandoc-6fe32c3b53980dd4c549b459bbf7efae0b6352b9.zip |
Raise an error if a table is closed without data.
Diffstat (limited to 'roff.c')
-rw-r--r-- | roff.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.115 2011/01/01 15:45:18 kristaps Exp $ */ +/* $Id: roff.c,v 1.116 2011/01/01 16:10:40 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -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); } |