diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | mdocterm.c | 3 | ||||
-rw-r--r-- | strings.c | 2 | ||||
-rw-r--r-- | term.h | 3 |
4 files changed, 8 insertions, 4 deletions
@@ -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 @@ -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 */ @@ -89,6 +89,8 @@ mdoc_isescape(const char *p) /* FALLTHROUGH */ case (' '): /* FALLTHROUGH */ + case ('|'): + /* FALLTHROUGH */ case ('&'): /* FALLTHROUGH */ case ('.'): @@ -66,7 +66,8 @@ enum tsym { TERMSYM_LANGLE = 37, TERMSYM_RANGLE = 38, TERMSYM_LBRACE = 39, - TERMSYM_RBRACE = 40 + TERMSYM_RBRACE = 40, + TERMSYM_MAX = 41 }; |