version 1.160, 2014/12/20 02:26:57 |
version 1.161, 2014/12/22 23:27:32 |
Line 363 rew_dohalt(enum mdoct tok, enum mdoc_type type, |
|
Line 363 rew_dohalt(enum mdoct tok, enum mdoc_type type, |
|
* When starting to rewind, skip plain text |
* When starting to rewind, skip plain text |
* and nodes that have already been rewound. |
* and nodes that have already been rewound. |
*/ |
*/ |
if (MDOC_TEXT == p->type || MDOC_VALID & p->flags) |
if (p->type == MDOC_TEXT || p->flags & (MDOC_VALID | MDOC_BREAK)) |
return(REWIND_MORE); |
return(REWIND_MORE); |
|
|
/* |
/* |
Line 746 blk_exp_close(MACRO_PROT_ARGS) |
|
Line 746 blk_exp_close(MACRO_PROT_ARGS) |
|
atok = rew_alt(tok); |
atok = rew_alt(tok); |
body = endbody = later = NULL; |
body = endbody = later = NULL; |
for (n = mdoc->last; n; n = n->parent) { |
for (n = mdoc->last; n; n = n->parent) { |
if (n->flags & MDOC_VALID) |
if (n->flags & (MDOC_VALID | MDOC_BREAK)) |
continue; |
continue; |
|
|
/* Remember the start of our own body. */ |
/* Remember the start of our own body. */ |