version 1.23, 2009/02/28 13:47:36 |
version 1.24, 2009/02/28 14:40:07 |
Line 392 post_bl_width(struct mdoc *mdoc) |
|
Line 392 post_bl_width(struct mdoc *mdoc) |
|
* the macro's width as set in share/tmac/mdoc/doc-common. |
* the macro's width as set in share/tmac/mdoc/doc-common. |
*/ |
*/ |
|
|
if (MDOC_MAX == (tok = mdoc_find(mdoc, *p))) |
if (xstrcmp(*p, "Ds")) |
|
width = 6; |
|
else if (MDOC_MAX == (tok = mdoc_find(mdoc, *p))) |
return(1); |
return(1); |
|
else if (0 == (width = mdoc_macro2len(tok))) |
if (0 == (width = mdoc_macro2len(tok))) |
|
return(mdoc_warn(mdoc, WARN_SYNTAX, |
return(mdoc_warn(mdoc, WARN_SYNTAX, |
"-%s macro has no length", |
"-%s macro has no length", |
mdoc_argnames[MDOC_Width])); |
mdoc_argnames[MDOC_Width])); |