summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--mdocterm.c3
-rw-r--r--strings.c2
-rw-r--r--term.h3
4 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2824a0ef..dae5bf57 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
.SUFFIXES: .html .sgml
-VERSION = 1.4.14
-VDATE = 13 March 2009
+VERSION = 1.4.15
+VDATE = 14 March 2009
BINDIR = $(PREFIX)/bin
INCLUDEDIR = $(PREFIX)/include
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 */
diff --git a/strings.c b/strings.c
index 0feb7141..cd623833 100644
--- a/strings.c
+++ b/strings.c
@@ -89,6 +89,8 @@ mdoc_isescape(const char *p)
/* FALLTHROUGH */
case (' '):
/* FALLTHROUGH */
+ case ('|'):
+ /* FALLTHROUGH */
case ('&'):
/* FALLTHROUGH */
case ('.'):
diff --git a/term.h b/term.h
index 05b57a7d..15cb73f3 100644
--- a/term.h
+++ b/term.h
@@ -66,7 +66,8 @@ enum tsym {
TERMSYM_LANGLE = 37,
TERMSYM_RANGLE = 38,
TERMSYM_LBRACE = 39,
- TERMSYM_RBRACE = 40
+ TERMSYM_RBRACE = 40,
+ TERMSYM_MAX = 41
};