version 1.56, 2009/03/12 15:55:11 |
version 1.58, 2009/03/13 07:46:10 |
Line 295 const struct termact __termacts[MDOC_MAX] = { |
|
Line 295 const struct termact __termacts[MDOC_MAX] = { |
|
{ termp_brq_pre, termp_brq_post }, /* Brq */ |
{ termp_brq_pre, termp_brq_post }, /* Brq */ |
{ termp_brq_pre, termp_brq_post }, /* Bro */ |
{ termp_brq_pre, termp_brq_post }, /* Bro */ |
{ NULL, NULL }, /* Brc */ |
{ NULL, NULL }, /* Brc */ |
|
{ NULL, NULL }, /* %C */ |
}; |
}; |
|
|
const struct termact *termacts = __termacts; |
const struct termact *termacts = __termacts; |
Line 838 termp_rv_pre(DECL_ARGS) |
|
Line 839 termp_rv_pre(DECL_ARGS) |
|
p->flags |= ttypes[TTYPE_FUNC_NAME]; |
p->flags |= ttypes[TTYPE_FUNC_NAME]; |
word(p, *node->args->argv[i].value); |
word(p, *node->args->argv[i].value); |
p->flags &= ~ttypes[TTYPE_FUNC_NAME]; |
p->flags &= ~ttypes[TTYPE_FUNC_NAME]; |
|
p->flags |= TERMP_NOSPACE; |
|
|
word(p, "() function returns the value 0 if successful;"); |
word(p, "() function returns the value 0 if successful;"); |
word(p, "otherwise the value -1 is returned and the"); |
word(p, "otherwise the value -1 is returned and the"); |
Line 1467 termp_ss_pre(DECL_ARGS) |
|
Line 1469 termp_ss_pre(DECL_ARGS) |
|
{ |
{ |
|
|
switch (node->type) { |
switch (node->type) { |
|
case (MDOC_BLOCK): |
|
newln(p); |
|
if (node->prev) |
|
vspace(p); |
|
break; |
case (MDOC_HEAD): |
case (MDOC_HEAD): |
vspace(p); |
|
TERMPAIR_SETFLAG(p, pair, ttypes[TTYPE_SSECTION]); |
TERMPAIR_SETFLAG(p, pair, ttypes[TTYPE_SSECTION]); |
p->offset = INDENT / 2; |
p->offset = INDENT / 2; |
break; |
break; |