version 1.153, 2020/04/18 20:40:10 |
version 1.156, 2021/08/10 12:55:03 |
Line 239 check_tag(struct roff_node *n, struct roff_node *nt) |
|
Line 239 check_tag(struct roff_node *n, struct roff_node *nt) |
|
case ESCAPE_FONTITALIC: |
case ESCAPE_FONTITALIC: |
case ESCAPE_FONTBI: |
case ESCAPE_FONTBI: |
case ESCAPE_FONTROMAN: |
case ESCAPE_FONTROMAN: |
case ESCAPE_FONTCW: |
case ESCAPE_FONTCR: |
|
case ESCAPE_FONTCB: |
|
case ESCAPE_FONTCI: |
case ESCAPE_FONTPREV: |
case ESCAPE_FONTPREV: |
case ESCAPE_IGNORE: |
case ESCAPE_IGNORE: |
break; |
break; |
Line 324 post_SH(CHKARGS) |
|
Line 326 post_SH(CHKARGS) |
|
*cp = '_'; |
*cp = '_'; |
if (nc != NULL && nc->type == ROFFT_TEXT && |
if (nc != NULL && nc->type == ROFFT_TEXT && |
strcmp(nc->string, tag) == 0) |
strcmp(nc->string, tag) == 0) |
tag_put(NULL, TAG_WEAK, n); |
tag_put(NULL, TAG_STRONG, n); |
else |
else |
tag_put(tag, TAG_FALLBACK, n); |
tag_put(tag, TAG_FALLBACK, n); |
free(tag); |
free(tag); |
Line 510 post_TH(CHKARGS) |
|
Line 512 post_TH(CHKARGS) |
|
|
|
if (n != NULL) |
if (n != NULL) |
n = n->next; |
n = n->next; |
if (n != NULL && n->string != NULL) |
if (n != NULL && n->string != NULL) { |
man->meta.msec = mandoc_strdup(n->string); |
man->meta.msec = mandoc_strdup(n->string); |
else { |
if (man->filesec != '\0' && |
|
man->filesec != *n->string && |
|
*n->string >= '1' && *n->string <= '9') |
|
mandoc_msg(MANDOCERR_MSEC_FILE, n->line, n->pos, |
|
"*.%c vs TH ... %c", man->filesec, *n->string); |
|
} else { |
man->meta.msec = mandoc_strdup(""); |
man->meta.msec = mandoc_strdup(""); |
mandoc_msg(MANDOCERR_MSEC_MISSING, |
mandoc_msg(MANDOCERR_MSEC_MISSING, |
nb->line, nb->pos, "TH %s", man->meta.title); |
nb->line, nb->pos, "TH %s", man->meta.title); |