summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-28 10:59:07 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-28 10:59:07 +0000
commitb7a413d6e95970beaca4b47cedb9aa482b3b9e2a (patch)
treecf76f6ae1d8618f9d1fad92fd9f8aeac621b4908 /roff.c
parent3b7f9863109027ae35f998f2d59a0e19058abc44 (diff)
downloadmandoc-b7a413d6e95970beaca4b47cedb9aa482b3b9e2a.tar.gz
Temporarily remove check for r->tbl at end of parse since we need the
original parse point to generate a useful error message.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/roff.c b/roff.c
index d61e34fa..d8a503f9 100644
--- a/roff.c
+++ b/roff.c
@@ -510,7 +510,8 @@ int
roff_endparse(struct roff *r)
{
- if (r->last || r->tbl)
+ /* FIXME: if r->tbl */
+ if (r->last)
(*r->msg)(MANDOCERR_SCOPEEXIT, r->data,
r->last->line, r->last->col, NULL);
return(1);