summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-01-05 19:51:10 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-01-05 19:51:10 +0000
commitb06b1d17e3f10d97004248b522836e979cdd476d (patch)
tree416c85fec1eb008f7820d37e90b6f6f14083c70c
parentd528698170d7946777e4971b9927001423e6b132 (diff)
downloadmandoc-b06b1d17e3f10d97004248b522836e979cdd476d.tar.gz
Removed references to `\\' escape (noted by Jason McIntyre, Ingo Schwarze).
-rw-r--r--chars.c2
-rw-r--r--chars.in1
-rw-r--r--mandoc.c2
3 files changed, 1 insertions, 4 deletions
diff --git a/chars.c b/chars.c
index e1822e2e..8d56c790 100644
--- a/chars.c
+++ b/chars.c
@@ -42,7 +42,7 @@ struct ln {
#define CHARS_BOTH (CHARS_CHAR | CHARS_STRING)
};
-#define LINES_MAX 351
+#define LINES_MAX 350
#define CHAR(w, x, y, z, a, b) \
{ NULL, (w), (y), (a), (x), (z), (b), CHARS_CHAR },
diff --git a/chars.in b/chars.in
index 9162b090..85150454 100644
--- a/chars.in
+++ b/chars.in
@@ -412,7 +412,6 @@ CHAR("r?", 2, "c", 1, "&#191;", 6)
CHAR("em", 2, "--", 2, "&#8212;", 7)
CHAR("en", 2, "-", 1, "&#8211;", 7)
CHAR("hy", 2, "-", 1, "&#8208;", 7)
-CHAR("\\", 1, "\\", 1, "\\", 1)
CHAR("e", 1, "\\", 1, "\\", 1)
/* Units. */
diff --git a/mandoc.c b/mandoc.c
index cf545382..69cdd8d6 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -43,8 +43,6 @@ mandoc_special(const char *p)
return(0);
switch (*p) {
- case ('\\'):
- /* FALLTHROUGH */
case ('\''):
/* FALLTHROUGH */
case ('`'):