version 1.33, 2010/05/15 20:51:40 |
version 1.34, 2010/05/15 22:44:04 |
|
|
}; |
}; |
|
|
static int post_TH(struct man *); |
static int post_TH(struct man *); |
static int post_de(struct man *); |
|
static int post_fi(struct man *); |
static int post_fi(struct man *); |
static int post_nf(struct man *); |
static int post_nf(struct man *); |
|
|
Line 70 const struct actions man_actions[MAN_MAX] = { |
|
Line 69 const struct actions man_actions[MAN_MAX] = { |
|
{ NULL }, /* Sp */ |
{ NULL }, /* Sp */ |
{ post_nf }, /* Vb */ |
{ post_nf }, /* Vb */ |
{ post_fi }, /* Ve */ |
{ post_fi }, /* Ve */ |
{ post_de }, /* de */ |
|
{ post_de }, /* dei */ |
|
{ post_de }, /* am */ |
|
{ post_de }, /* ami */ |
|
{ NULL }, /* . */ |
|
}; |
}; |
|
|
|
|
Line 109 post_fi(struct man *m) |
|
Line 103 post_fi(struct man *m) |
|
if ( ! man_nwarn(m, m->last, WNLITERAL)) |
if ( ! man_nwarn(m, m->last, WNLITERAL)) |
return(0); |
return(0); |
m->flags &= ~MAN_LITERAL; |
m->flags &= ~MAN_LITERAL; |
return(1); |
|
} |
|
|
|
|
|
static int |
|
post_de(struct man *m) |
|
{ |
|
|
|
/* |
|
* XXX: for the time being, we indiscriminately remove roff |
|
* instructions from the parse stream. |
|
*/ |
|
if (MAN_BLOCK == m->last->type) |
|
man_node_delete(m, m->last); |
|
return(1); |
return(1); |
} |
} |
|
|