version 1.46, 2009/03/20 19:56:25 |
version 1.48, 2009/03/21 09:48:29 |
Line 191 const struct actions mdoc_actions[MDOC_MAX] = { |
|
Line 191 const struct actions mdoc_actions[MDOC_MAX] = { |
|
{ NULL, NULL }, /* Es */ |
{ NULL, NULL }, /* Es */ |
{ NULL, NULL }, /* En */ |
{ NULL, NULL }, /* En */ |
{ NULL, NULL }, /* Dx */ |
{ NULL, NULL }, /* Dx */ |
|
{ NULL, NULL }, /* %Q */ |
}; |
}; |
|
|
|
|
Line 404 post_dt(POST_ARGS) |
|
Line 405 post_dt(POST_ARGS) |
|
* arch = NULL |
* arch = NULL |
*/ |
*/ |
|
|
if ((cp = mdoc_a2msec(n->string))) { |
cp = mdoc_a2msec(n->string); |
|
if (cp) { |
m->meta.vol = xstrdup(cp); |
m->meta.vol = xstrdup(cp); |
errno = 0; |
errno = 0; |
lval = strtol(n->string, &ep, 10); |
lval = strtol(n->string, &ep, 10); |
Line 423 post_dt(POST_ARGS) |
|
Line 425 post_dt(POST_ARGS) |
|
* VOL |
* VOL |
*/ |
*/ |
|
|
if ((cp = mdoc_a2vol(n->string))) { |
cp = mdoc_a2vol(n->string); |
|
if (cp) { |
free(m->meta.vol); |
free(m->meta.vol); |
m->meta.vol = xstrdup(cp); |
m->meta.vol = xstrdup(cp); |
n = n->next; |
n = n->next; |
Line 488 post_bl_tagwidth(struct mdoc *m) |
|
Line 491 post_bl_tagwidth(struct mdoc *m) |
|
* width if a macro. |
* width if a macro. |
*/ |
*/ |
|
|
if ((n = n->head->child)) { |
n = n->head->child; |
|
if (n) { |
if (MDOC_TEXT != n->type) { |
if (MDOC_TEXT != n->type) { |
if (0 == (sz = (int)mdoc_macro2len(n->tok))) |
if (0 == (sz = (int)mdoc_macro2len(n->tok))) |
sz = -1; |
sz = -1; |