version 1.38, 2009/03/10 11:16:43 |
version 1.40, 2009/03/12 06:32:17 |
Line 74 static struct termenc termenc1[] = { |
|
Line 74 static struct termenc termenc1[] = { |
|
}; |
}; |
|
|
static struct termenc termenc2[] = { |
static struct termenc termenc2[] = { |
|
{ "rC", TERMSYM_RBRACE }, |
|
{ "lC", TERMSYM_LBRACE }, |
{ "rB", TERMSYM_RBRACK }, |
{ "rB", TERMSYM_RBRACK }, |
{ "lB", TERMSYM_LBRACK }, |
{ "lB", TERMSYM_LBRACK }, |
{ "ra", TERMSYM_RANGLE }, |
{ "ra", TERMSYM_RANGLE }, |
Line 163 static struct termsym termsym_ansi[] = { |
|
Line 165 static struct termsym termsym_ansi[] = { |
|
{ "", 0 }, /* TERMSYM_BREAK */ |
{ "", 0 }, /* TERMSYM_BREAK */ |
{ "<", 1 }, /* TERMSYM_LANGLE */ |
{ "<", 1 }, /* TERMSYM_LANGLE */ |
{ ">", 1 }, /* TERMSYM_RANGLE */ |
{ ">", 1 }, /* TERMSYM_RANGLE */ |
|
{ "{", 1 }, /* TERMSYM_LBRACE */ |
|
{ "}", 1 }, /* TERMSYM_RBRACE */ |
}; |
}; |
|
|
static const char ansi_clear[] = { 27, '[', '0', 'm' }; |
static const char ansi_clear[] = { 27, '[', '0', 'm' }; |
Line 426 word(struct termp *p, const char *word) |
|
Line 430 word(struct termp *p, const char *word) |
|
return; |
return; |
} |
} |
|
|
len = strlen(word); |
if (0 == (len = strlen(word))) |
assert(len > 0); |
errx(1, "blank line not in literal context"); |
|
|
if (mdoc_isdelim(word)) { |
if (mdoc_isdelim(word)) { |
if ( ! (p->flags & TERMP_IGNDELIM)) |
if ( ! (p->flags & TERMP_IGNDELIM)) |