version 1.17, 2009/08/13 11:45:29 |
version 1.19, 2009/08/19 09:14:50 |
Line 83 static const struct man_valid man_valids[MAN_MAX] = { |
|
Line 83 static const struct man_valid man_valids[MAN_MAX] = { |
|
{ pres_bline, posts_eq0 }, /* nf */ |
{ pres_bline, posts_eq0 }, /* nf */ |
{ pres_bline, posts_eq0 }, /* fi */ |
{ pres_bline, posts_eq0 }, /* fi */ |
{ NULL, NULL }, /* r */ |
{ NULL, NULL }, /* r */ |
|
{ NULL, NULL }, /* RE */ |
|
{ NULL, NULL }, /* RS */ |
}; |
}; |
|
|
|
|
|
|
check_root(CHKARGS) |
check_root(CHKARGS) |
{ |
{ |
|
|
|
/* FIXME: closing out explicit scope! */ |
|
|
/* XXX - make this into a warning? */ |
/* XXX - make this into a warning? */ |
if (MAN_BLINE & m->flags) |
if (MAN_BLINE & m->flags) |
return(man_nerr(m, n, WEXITSCOPE)); |
return(man_nerr(m, n, WEXITSCOPE)); |
|
|
check_eline(CHKARGS) |
check_eline(CHKARGS) |
{ |
{ |
|
|
if ( ! (MAN_ELINE & m->flags)) |
if (MAN_ELINE & m->flags) |
return(1); |
return(man_nerr(m, n, WLNSCOPE)); |
return(man_nerr(m, n, WLNSCOPE)); |
return(1); |
} |
} |
|
|
|
|
|
|
check_bline(CHKARGS) |
check_bline(CHKARGS) |
{ |
{ |
|
|
if ( ! (MAN_BLINE & m->flags)) |
if (MAN_BLINE & m->flags) |
return(1); |
return(man_nerr(m, n, WLNSCOPE)); |
return(man_nerr(m, n, WLNSCOPE)); |
if (MAN_ELINE & m->flags) |
|
return(man_nerr(m, n, WLNSCOPE)); |
|
return(1); |
} |
} |
|
|