version 1.54, 2010/05/08 07:30:19 |
version 1.56, 2010/05/14 15:26:39 |
Line 366 post_st(POST_ARGS) |
|
Line 366 post_st(POST_ARGS) |
|
|
|
assert(MDOC_TEXT == n->child->type); |
assert(MDOC_TEXT == n->child->type); |
p = mdoc_a2st(n->child->string); |
p = mdoc_a2st(n->child->string); |
assert(p); |
if (p != NULL) { |
free(n->child->string); |
free(n->child->string); |
n->child->string = mandoc_strdup(p); |
n->child->string = mandoc_strdup(p); |
|
} |
return(1); |
return(1); |
} |
} |
|
|
Line 419 post_sh(POST_ARGS) |
|
Line 420 post_sh(POST_ARGS) |
|
|
|
if ( ! concat(m, buf, n->child, BUFSIZ)) |
if ( ! concat(m, buf, n->child, BUFSIZ)) |
return(0); |
return(0); |
sec = mdoc_atosec(buf); |
sec = mdoc_str2sec(buf); |
/* |
/* |
* The first section should always make us move into a non-new |
* The first section should always make us move into a non-new |
* state. |
* state. |