summaryrefslogtreecommitdiffstats
path: root/mdocterm.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-14 05:36:07 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-14 05:36:07 +0000
commitc7786fc13e7b2236e756f79950f7ababcac56545 (patch)
tree153a7e0702d4a312ebad3441c7599b515b1dab07 /mdocterm.c
parent87db307812249df3244dcee240f1c1684d76014e (diff)
downloadmandoc-c7786fc13e7b2236e756f79950f7ababcac56545.tar.gz
Bumped version.
Added \| (non-breaking space, like \&). Fixed termsym (TERMSYM_ALL).
Diffstat (limited to 'mdocterm.c')
-rw-r--r--mdocterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdocterm.c b/mdocterm.c
index a2fb262a..635ed9c4 100644
--- a/mdocterm.c
+++ b/mdocterm.c
@@ -70,6 +70,7 @@ static struct termenc termenc1[] = {
{ "&", TERMSYM_BREAK },
{ "e", TERMSYM_SLASH },
{ "q", TERMSYM_DQUOTE },
+ { "|", TERMSYM_BREAK },
{ NULL, 0 }
};
@@ -125,7 +126,7 @@ static struct termenc termenc2[] = {
{ NULL, 0 }
};
-static struct termsym termsym_ansi[] = {
+static struct termsym termsym_ansi[TERMSYM_MAX] = {
{ "]", 1 }, /* TERMSYM_RBRACK */
{ "[", 1 }, /* TERMSYM_LBRACK */
{ "<-", 2 }, /* TERMSYM_LARROW */