merge diffs
This commit is contained in:
parent
0d88b60388
commit
43ed5f5eba
|
@ -1,4 +1,4 @@
|
|||
/* $Vendor-Id: mdoc_argv.c,v 1.81 2011/09/18 14:14:15 schwarze Exp $ */
|
||||
/* $Vendor-Id: mdoc_argv.c,v 1.82 2012/03/23 05:50:24 kristaps Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
|
||||
*
|
||||
|
@ -81,7 +81,7 @@ static const enum argvflag argvflags[MDOC_ARG_MAX] = {
|
|||
ARGV_NONE, /* MDOC_Ohang */
|
||||
ARGV_NONE, /* MDOC_Inset */
|
||||
ARGV_MULTI, /* MDOC_Column */
|
||||
ARGV_SINGLE, /* MDOC_Width */
|
||||
ARGV_OPT_SINGLE, /* MDOC_Width */
|
||||
ARGV_NONE, /* MDOC_Compact */
|
||||
ARGV_NONE, /* MDOC_Std */
|
||||
ARGV_NONE, /* MDOC_Filled */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Vendor-Id: mdoc_validate.c,v 1.181 2011/12/03 16:58:54 schwarze Exp $ */
|
||||
/* $Vendor-Id: mdoc_validate.c,v 1.182 2012/03/23 05:50:25 kristaps Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
|
||||
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
|
||||
|
@ -661,8 +661,13 @@ pre_bl(PRE_ARGS)
|
|||
comp = 1;
|
||||
break;
|
||||
case (MDOC_Width):
|
||||
dup = (NULL != n->norm->Bl.width);
|
||||
width = n->args->argv[i].value[0];
|
||||
/* NB: this can be empty! */
|
||||
if (n->args->argv[i].sz) {
|
||||
width = n->args->argv[i].value[0];
|
||||
dup = (NULL != n->norm->Bl.width);
|
||||
break;
|
||||
}
|
||||
mdoc_nmsg(mdoc, n, MANDOCERR_IGNARGV);
|
||||
break;
|
||||
case (MDOC_Offset):
|
||||
/* NB: this can be empty! */
|
||||
|
|
Loading…
Reference in New Issue