version 1.7, 2011/03/28 21:49:42 |
version 1.9, 2011/04/03 10:05:37 |
|
|
mparse_result(struct mparse *curp, struct mdoc **mdoc, struct man **man) |
mparse_result(struct mparse *curp, struct mdoc **mdoc, struct man **man) |
{ |
{ |
|
|
*mdoc = curp->mdoc; |
if (mdoc) |
*man = curp->man; |
*mdoc = curp->mdoc; |
|
if (man) |
|
*man = curp->man; |
} |
} |
|
|
void |
void |
Line 740 mandoc_msg(enum mandocerr er, struct mparse *m, |
|
Line 742 mandoc_msg(enum mandocerr er, struct mparse *m, |
|
if (level < m->wlevel) |
if (level < m->wlevel) |
return; |
return; |
|
|
(*m->mmsg)(er, level, m->file, ln, col, msg); |
if (m->mmsg) |
|
(*m->mmsg)(er, level, m->file, ln, col, msg); |
|
|
if (m->file_status < level) |
if (m->file_status < level) |
m->file_status = level; |
m->file_status = level; |