version 1.211, 2011/01/25 15:17:18 |
version 1.212, 2011/01/25 15:28:56 |
Line 1677 termp_bd_post(DECL_ARGS) |
|
Line 1677 termp_bd_post(DECL_ARGS) |
|
static int |
static int |
termp_bx_pre(DECL_ARGS) |
termp_bx_pre(DECL_ARGS) |
{ |
{ |
|
char buf[3]; |
|
|
if (NULL != (n = n->child)) { |
if (NULL != (n = n->child)) { |
term_word(p, n->string); |
term_word(p, n->string); |
Line 1688 termp_bx_pre(DECL_ARGS) |
|
Line 1689 termp_bx_pre(DECL_ARGS) |
|
} |
} |
|
|
if (NULL != (n = n->next)) { |
if (NULL != (n = n->next)) { |
|
buf[0] = '-'; |
|
buf[1] = toupper((unsigned char)*n->string); |
|
buf[2] = '\0'; |
|
|
p->flags |= TERMP_NOSPACE; |
p->flags |= TERMP_NOSPACE; |
term_word(p, "-"); |
term_word(p, buf); |
p->flags |= TERMP_NOSPACE; |
p->flags |= TERMP_NOSPACE; |
term_word(p, n->string); |
term_word(p, n->string + 1); |
} |
} |
|
|
return(0); |
return(0); |