-/* $Id: argv.c,v 1.34 2009/02/28 12:16:02 kristaps Exp $ */
+/* $Id: argv.c,v 1.35 2009/03/03 22:28:21 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
/* LINTED */
for (i = 0; i < c; i++) {
- if (MDOC_Column != n->data.block.argv[i].arg)
- continue;
- fl |= ARGS_TABSEP;
- fl &= ~ARGS_DELIM;
- break;
+ switch (n->data.block.argv[i].arg) {
+ case (MDOC_Column):
+ fl |= ARGS_TABSEP;
+ fl &= ~ARGS_DELIM;
+ i = c;
+ break;
+ case (MDOC_Diag):
+ fl |= ARGS_QUOTED;
+ i = c;
+ break;
+ default:
+ break;
+ }
}
}
-/* $Id: term.c,v 1.37 2009/03/03 22:17:19 kristaps Exp $ */
+/* $Id: term.c,v 1.38 2009/03/03 22:28:21 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
case (MDOC_Enum):
/* FALLTHROUGH */
case (MDOC_Hyphen):
- width = width > 6 ? width : 6;
+ width = width > 4 ? width : 4;
break;
case (MDOC_Tag):
if (0 == width)
switch (type) {
case (MDOC_Diag):
+ /* XXX - ignore child macros!? */
if (MDOC_HEAD == node->type)
TERMPAIR_SETFLAG(p, pair, ttypes[TTYPE_DIAG]);
/* FALLTHROUGH */