[prev in list] [next in list] [prev in thread] [next in thread]
List: mandoc-source
Subject: mdocml: Temporarily remove check for r->tbl at end of parse since we
From: kristaps () mdocml ! bsd ! lv
Date: 2010-12-28 10:59:07
Message-ID: 201012281059.oBSAx7gw028780 () krisdoz ! my ! domain
[Download RAW message or body]
Log Message:
-----------
Temporarily remove check for r->tbl at end of parse since we need the
original parse point to generate a useful error message.
Modified Files:
--------------
mdocml:
roff.c
Revision Data
-------------
Index: roff.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/roff.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -Lroff.c -Lroff.c -u -p -r1.109 -r1.110
--- roff.c
+++ 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);
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic