version 1.97, 2014/07/04 16:12:08 |
version 1.100, 2014/07/07 21:36:20 |
|
|
check_root(CHKARGS) |
check_root(CHKARGS) |
{ |
{ |
|
|
if (MAN_BLINE & man->flags) |
if ((MAN_BLINE | MAN_ELINE) & man->flags) |
man_nmsg(man, n, MANDOCERR_SCOPEEXIT); |
mandoc_msg(MANDOCERR_BLK_LINE, man->parse, |
else if (MAN_ELINE & man->flags) |
0, 0, "at end of file"); |
man_nmsg(man, n, MANDOCERR_SCOPEEXIT); |
|
|
|
man->flags &= ~MAN_BLINE; |
man->flags &= ~MAN_BLINE; |
man->flags &= ~MAN_ELINE; |
man->flags &= ~MAN_ELINE; |
Line 230 check_text(CHKARGS) |
|
Line 229 check_text(CHKARGS) |
|
|
|
cp = n->string; |
cp = n->string; |
for (p = cp; NULL != (p = strchr(p, '\t')); p++) |
for (p = cp; NULL != (p = strchr(p, '\t')); p++) |
man_pmsg(man, n->line, (int)(p - cp), MANDOCERR_BADTAB); |
mandoc_msg(MANDOCERR_FI_TAB, man->parse, |
|
n->line, n->pos + (p - cp), NULL); |
} |
} |
|
|
#define INEQ_DEFINE(x, ineq, name) \ |
#define INEQ_DEFINE(x, ineq, name) \ |
Line 303 post_ft(CHKARGS) |
|
Line 303 post_ft(CHKARGS) |
|
} |
} |
|
|
if (0 == ok) { |
if (0 == ok) { |
mandoc_vmsg(MANDOCERR_BADFONT, man->parse, n->line, |
mandoc_vmsg(MANDOCERR_FT_BAD, man->parse, |
n->pos, "%s", cp); |
n->line, n->pos, "ft %s", cp); |
*cp = '\0'; |
*cp = '\0'; |
} |
} |
|
|