diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-28 10:59:07 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-28 10:59:07 +0000 |
commit | b7a413d6e95970beaca4b47cedb9aa482b3b9e2a (patch) | |
tree | cf76f6ae1d8618f9d1fad92fd9f8aeac621b4908 /roff.c | |
parent | 3b7f9863109027ae35f998f2d59a0e19058abc44 (diff) | |
download | mandoc-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |