diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-14 05:36:07 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-14 05:36:07 +0000 |
commit | c7786fc13e7b2236e756f79950f7ababcac56545 (patch) | |
tree | 153a7e0702d4a312ebad3441c7599b515b1dab07 | |
parent | 87db307812249df3244dcee240f1c1684d76014e (diff) | |
download | mandoc-c7786fc13e7b2236e756f79950f7ababcac56545.tar.gz |
Bumped version.
Added \| (non-breaking space, like \&).
Fixed termsym (TERMSYM_ALL).
-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 }; |