version 1.185, 2015/10/06 18:32:19 |
version 1.187, 2016/01/08 17:48:09 |
|
|
pre_ll(DECL_ARGS) |
pre_ll(DECL_ARGS) |
{ |
{ |
|
|
term_setwidth(p, n->nchild ? n->child->string : NULL); |
term_setwidth(p, n->child != NULL ? n->child->string : NULL); |
return 0; |
return 0; |
} |
} |
|
|
Line 371 pre_ft(DECL_ARGS) |
|
Line 371 pre_ft(DECL_ARGS) |
|
cp = n->child->string; |
cp = n->child->string; |
switch (*cp) { |
switch (*cp) { |
case '4': |
case '4': |
/* FALLTHROUGH */ |
|
case '3': |
case '3': |
/* FALLTHROUGH */ |
|
case 'B': |
case 'B': |
term_fontrepl(p, TERMFONT_BOLD); |
term_fontrepl(p, TERMFONT_BOLD); |
break; |
break; |
case '2': |
case '2': |
/* FALLTHROUGH */ |
|
case 'I': |
case 'I': |
term_fontrepl(p, TERMFONT_UNDER); |
term_fontrepl(p, TERMFONT_UNDER); |
break; |
break; |
Line 386 pre_ft(DECL_ARGS) |
|
Line 383 pre_ft(DECL_ARGS) |
|
term_fontlast(p); |
term_fontlast(p); |
break; |
break; |
case '1': |
case '1': |
/* FALLTHROUGH */ |
|
case 'C': |
case 'C': |
/* FALLTHROUGH */ |
|
case 'R': |
case 'R': |
term_fontrepl(p, TERMFONT_NONE); |
term_fontrepl(p, TERMFONT_NONE); |
break; |
break; |
Line 449 pre_sp(DECL_ARGS) |
|
Line 444 pre_sp(DECL_ARGS) |
|
if ((NULL == n->prev && n->parent)) { |
if ((NULL == n->prev && n->parent)) { |
switch (n->parent->tok) { |
switch (n->parent->tok) { |
case MAN_SH: |
case MAN_SH: |
/* FALLTHROUGH */ |
|
case MAN_SS: |
case MAN_SS: |
/* FALLTHROUGH */ |
|
case MAN_PP: |
case MAN_PP: |
/* FALLTHROUGH */ |
|
case MAN_LP: |
case MAN_LP: |
/* FALLTHROUGH */ |
|
case MAN_P: |
case MAN_P: |
/* FALLTHROUGH */ |
|
return 0; |
return 0; |
default: |
default: |
break; |
break; |