summaryrefslogtreecommitdiffstats
path: root/mdocterm.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-11 00:39:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-11 00:39:58 +0000
commitb245e76978c72e7237d90485531acee7d3caa4fc (patch)
treefdf44540f6b1904b7f26b0b008bceccff7ab2be5 /mdocterm.c
parent3a26b8088d5978b9e623c51df0dcaf7206eae3e4 (diff)
downloadmandoc-b245e76978c72e7237d90485531acee7d3caa4fc.tar.gz
Expanded perfect htab to use 27 * 26 * 3 space.
Added Brq, Bro and Brc macros. Added lbrace and rbrace to special characters. Fixed spacing in braces.
Diffstat (limited to 'mdocterm.c')
-rw-r--r--mdocterm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdocterm.c b/mdocterm.c
index 9acb566e..fb4b31de 100644
--- a/mdocterm.c
+++ b/mdocterm.c
@@ -74,6 +74,8 @@ static struct termenc termenc1[] = {
};
static struct termenc termenc2[] = {
+ { "rC", TERMSYM_RBRACE },
+ { "lC", TERMSYM_LBRACE },
{ "rB", TERMSYM_RBRACK },
{ "lB", TERMSYM_LBRACK },
{ "ra", TERMSYM_RANGLE },
@@ -163,6 +165,8 @@ static struct termsym termsym_ansi[] = {
{ "", 0 }, /* TERMSYM_BREAK */
{ "<", 1 }, /* TERMSYM_LANGLE */
{ ">", 1 }, /* TERMSYM_RANGLE */
+ { "{", 1 }, /* TERMSYM_LBRACE */
+ { "}", 1 }, /* TERMSYM_RBRACE */
};
static const char ansi_clear[] = { 27, '[', '0', 'm' };