version 1.76, 2009/09/21 14:07:07 |
version 1.79, 2009/09/24 09:20:02 |
Line 762 termp_it_pre(DECL_ARGS) |
|
Line 762 termp_it_pre(DECL_ARGS) |
|
* last column case, set to stretch to the margin). |
* last column case, set to stretch to the margin). |
*/ |
*/ |
for (i = 0, n = node->prev; n && |
for (i = 0, n = node->prev; n && |
i < (int)bl->args[vals[2]].argv->sz; |
i < (int)bl->args->argv[vals[2]].sz; |
n = n->prev, i++) |
n = n->prev, i++) |
offset += arg_width |
offset += arg_width |
(&bl->args->argv[vals[2]], i); |
(&bl->args->argv[vals[2]], i); |
|
|
/* Whether exceeds maximum column. */ |
/* Whether exceeds maximum column. */ |
if (i < (int)bl->args[vals[2]].argv->sz) |
if (i < (int)bl->args->argv[vals[2]].sz) |
width = arg_width(&bl->args->argv[vals[2]], i); |
width = arg_width(&bl->args->argv[vals[2]], i); |
else |
else |
width = 0; |
width = 0; |
Line 1842 termp_in_post(DECL_ARGS) |
|
Line 1842 termp_in_post(DECL_ARGS) |
|
{ |
{ |
|
|
p->bold++; |
p->bold++; |
|
p->flags |= TERMP_NOSPACE; |
term_word(p, ">"); |
term_word(p, ">"); |
p->bold--; |
p->bold--; |
|
|
Line 1866 termp_sp_pre(DECL_ARGS) |
|
Line 1867 termp_sp_pre(DECL_ARGS) |
|
{ |
{ |
int i, len; |
int i, len; |
|
|
switch (node->type) { |
switch (node->tok) { |
case (MDOC_sp): |
case (MDOC_sp): |
len = node->child ? atoi(node->child->string) : 1; |
len = node->child ? atoi(node->child->string) : 1; |
break; |
break; |