version 1.86, 2010/06/30 04:05:02 |
version 1.87, 2010/07/01 14:28:12 |
Line 411 rew_dohalt(enum mdoct tok, enum mdoc_type type, |
|
Line 411 rew_dohalt(enum mdoct tok, enum mdoc_type type, |
|
* Default block rewinding rules. |
* Default block rewinding rules. |
* In particular, always skip block end markers. |
* In particular, always skip block end markers. |
*/ |
*/ |
if (p->end || (MDOC_BLOCK == p->type && |
if (ENDBODY_NOT != p->end || (MDOC_BLOCK == p->type && |
! (MDOC_EXPLICIT & mdoc_macros[tok].flags))) |
! (MDOC_EXPLICIT & mdoc_macros[tok].flags))) |
return(REWIND_MORE); |
return(REWIND_MORE); |
|
|
Line 648 blk_exp_close(MACRO_PROT_ARGS) |
|
Line 648 blk_exp_close(MACRO_PROT_ARGS) |
|
|
|
/* Remember the start of our own body. */ |
/* Remember the start of our own body. */ |
if (MDOC_BODY == n->type && atok == n->tok) { |
if (MDOC_BODY == n->type && atok == n->tok) { |
if ( ! n->end) |
if (ENDBODY_NOT == n->end) |
body = n; |
body = n; |
continue; |
continue; |
} |
} |