summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-08-24 13:39:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-08-24 13:39:37 +0000
commitc161c4dd10ba225a35fed081c68ad54b6fa225cb (patch)
tree28e06ba8294d742e777d6d782fa436e9d84b1e5c
parent600f607aef5b555ce32a82f81cefbe0ecdf8b6b1 (diff)
downloadmandoc-c161c4dd10ba225a35fed081c68ad54b6fa225cb.tar.gz
Strip out `\k' escape.
-rw-r--r--man.72
-rw-r--r--mandoc.c2
-rw-r--r--mdoc.72
-rw-r--r--out.c2
4 files changed, 7 insertions, 1 deletions
diff --git a/man.7 b/man.7
index ef8b6de6..ca607f1a 100644
--- a/man.7
+++ b/man.7
@@ -940,6 +940,8 @@ The
.Pq zero-length character ,
.Sq \ew
.Pq string length ,
+.Sq \ek
+.Pq horizontal position marker ,
and
.Sq \es
.Pq text size
diff --git a/mandoc.c b/mandoc.c
index 0be9c287..9ff748ea 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -138,9 +138,9 @@ mandoc_special(char *p)
/* FALLTHROUGH */
case ('n'):
/* FALLTHROUGH */
+#endif
case ('k'):
/* FALLTHROUGH */
-#endif
case ('M'):
/* FALLTHROUGH */
case ('m'):
diff --git a/mdoc.7 b/mdoc.7
index 0e7b7dae..ddd8db66 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -2848,6 +2848,8 @@ The
.Pq zero-length character ,
.Sq \ew
.Pq string length ,
+.Sq \ek
+.Pq horizontal position marker ,
and
.Sq \es
.Pq text size
diff --git a/out.c b/out.c
index 7ec42e68..d1a9e79d 100644
--- a/out.c
+++ b/out.c
@@ -220,6 +220,8 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t *sz)
break;
}
break;
+ case ('k'):
+ /* FALLTHROUGH */
case ('M'):
/* FALLTHROUGH */
case ('m'):