version 1.43, 2010/03/29 19:28:04 |
version 1.44, 2010/03/29 19:45:42 |
Line 904 blk_full(MACRO_PROT_ARGS) |
|
Line 904 blk_full(MACRO_PROT_ARGS) |
|
|
|
if ( ! mdoc_block_alloc(m, line, ppos, tok, arg)) |
if ( ! mdoc_block_alloc(m, line, ppos, tok, arg)) |
return(0); |
return(0); |
|
if ( ! mdoc_head_alloc(m, line, ppos, tok)) |
|
return(0); |
|
|
if (0 == buf[*pos]) { |
if ('\0' == buf[*pos]) { |
if ( ! mdoc_head_alloc(m, line, ppos, tok)) |
|
return(0); |
|
if ( ! rew_sub(MDOC_HEAD, m, tok, line, ppos)) |
if ( ! rew_sub(MDOC_HEAD, m, tok, line, ppos)) |
return(0); |
return(0); |
if ( ! mdoc_body_alloc(m, line, ppos, tok)) |
if ( ! mdoc_body_alloc(m, line, ppos, tok)) |
Line 915 blk_full(MACRO_PROT_ARGS) |
|
Line 915 blk_full(MACRO_PROT_ARGS) |
|
return(1); |
return(1); |
} |
} |
|
|
if ( ! mdoc_head_alloc(m, line, ppos, tok)) |
|
return(0); |
|
|
|
/* Immediately close out head and enter body, if applicable. */ |
/* Immediately close out head and enter body, if applicable. */ |
|
|
if (0 == dohead) { |
if (0 == dohead) { |
Line 1051 blk_part_imp(MACRO_PROT_ARGS) |
|
Line 1048 blk_part_imp(MACRO_PROT_ARGS) |
|
|
|
/* Clean-ups to leave in a consistent state. */ |
/* Clean-ups to leave in a consistent state. */ |
|
|
if (NULL == body && ! mdoc_body_alloc(m, line, ppos, tok)) |
if (NULL == body) { |
return(0); |
if ( ! mdoc_body_alloc(m, line, ppos, tok)) |
|
return(0); |
body = m->last; |
body = m->last; |
|
} |
|
|
/* |
/* |
* If we can't rewind to our body, then our scope has already |
* If we can't rewind to our body, then our scope has already |