version 1.18, 2009/08/22 15:29:23 |
version 1.19, 2009/08/22 15:36:58 |
|
|
free(m->meta.vol); |
free(m->meta.vol); |
if (NULL == (m->meta.vol = strdup(cp))) |
if (NULL == (m->meta.vol = strdup(cp))) |
return(mdoc_nerr(m, m->last, EMALLOC)); |
return(mdoc_nerr(m, m->last, EMALLOC)); |
n = n->next; |
|
} else { |
} else { |
cp = mdoc_a2arch(n->string); |
cp = mdoc_a2arch(n->string); |
if (NULL == cp) { |
if (NULL == cp) { |
|
|
|
|
if (MDOC_BODY == n->type) |
if (MDOC_BODY == n->type) |
m->flags |= MDOC_LITERAL; |
m->flags |= MDOC_LITERAL; |
|
|
return(1); |
return(1); |
} |
} |
|
|
|
|
if (MDOC_BODY != n->type) |
if (MDOC_BODY != n->type) |
return(1); |
return(1); |
|
|
/* Enter literal context if `Bd -literal' or * -unfilled'. */ |
/* Enter literal context if `Bd -literal' or `-unfilled'. */ |
|
|
|
/* |
|
* TODO: `-offset' without an argument should be the width of |
|
* the literal "<string>". |
|
*/ |
|
|
for (n = n->parent, i = 0; i < (int)n->args->argc; i++) |
for (n = n->parent, i = 0; i < (int)n->args->argc; i++) |
if (MDOC_Literal == n->args->argv[i].arg) |
if (MDOC_Literal == n->args->argv[i].arg) |