version 1.79, 2010/05/17 22:11:42 |
version 1.80, 2010/05/17 23:57:06 |
Line 568 pre_bl(PRE_ARGS) |
|
Line 568 pre_bl(PRE_ARGS) |
|
case (MDOC_Inset): |
case (MDOC_Inset): |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
case (MDOC_Column): |
case (MDOC_Column): |
/* |
if (type < 0) { |
* Note that if a duplicate is detected, we |
type = n->args->argv[pos].arg; |
* remove the duplicate instead of passing it |
|
* over. If we don't do this, mdoc_action will |
|
* become confused when it scans over multiple |
|
* types whilst setting its bitmasks. |
|
* |
|
* FIXME: this should occur in mdoc_action.c. |
|
*/ |
|
if (type >= 0) { |
|
if ( ! mdoc_nmsg(mdoc, n, MANDOCERR_LISTREP)) |
|
return(0); |
|
mdoc_argn_free(n->args, pos); |
|
break; |
break; |
} |
} |
type = n->args->argv[pos].arg; |
if (mdoc_nmsg(mdoc, n, MANDOCERR_LISTREP)) |
break; |
break; |
|
return(0); |
case (MDOC_Compact): |
case (MDOC_Compact): |
if (type < 0 && ! mdoc_nmsg(mdoc, n, MANDOCERR_LISTFIRST)) |
if (type >= 0) |
return(0); |
break; |
break; |
if (mdoc_nmsg(mdoc, n, MANDOCERR_LISTFIRST)) |
|
break; |
|
return(0); |
case (MDOC_Width): |
case (MDOC_Width): |
if (width >= 0) |
if (width >= 0) |
if ( ! mdoc_nmsg(mdoc, n, MANDOCERR_ARGVREP)) |
if ( ! mdoc_nmsg(mdoc, n, MANDOCERR_ARGVREP)) |