aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitd99e0a75f565996f4d42d4f40627fc4951d4e98c (patch)
tree816f35ad367695f4ea3cab31f94d125426119f5f
parentac2ee6a683c48e758ae871419ea18b57aa82e14b (diff)
downloadmandoc-d99e0a75f565996f4d42d4f40627fc4951d4e98c.tar.gz
mandoc-d99e0a75f565996f4d42d4f40627fc4951d4e98c.tar.zst
mandoc-d99e0a75f565996f4d42d4f40627fc4951d4e98c.zip
Strip out `\k' escape.
-rw-r--r--man.74
-rw-r--r--mandoc.c4
-rw-r--r--mdoc.74
-rw-r--r--out.c4
4 files changed, 11 insertions, 5 deletions
diff --git a/man.7 b/man.7
index a08e32b2..81b3173f 100644
--- a/man.7
+++ b/man.7
@@ -1,4 +1,4 @@
-.\" $Id: man.7,v 1.84 2010/08/24 13:07:01 kristaps Exp $
+.\" $Id: man.7,v 1.85 2010/08/24 13:39:37 kristaps Exp $
.\"
.\" Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -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 41d4196a..78b2967d 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -1,4 +1,4 @@
-/* $Id: mandoc.c,v 1.31 2010/08/24 13:07:01 kristaps Exp $ */
+/* $Id: mandoc.c,v 1.32 2010/08/24 13:39:37 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 39c771b7..08959e14 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.153 2010/08/24 13:07:01 kristaps Exp $
+.\" $Id: mdoc.7,v 1.154 2010/08/24 13:39:37 kristaps Exp $
.\"
.\" Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 6e1dadae..c365d9db 100644
--- a/out.c
+++ b/out.c
@@ -1,4 +1,4 @@
-/* $Id: out.c,v 1.26 2010/08/24 13:07:01 kristaps Exp $ */
+/* $Id: out.c,v 1.27 2010/08/24 13:39:37 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -220,6 +220,8 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t *sz)
break;
}
break;
+ case ('k'):
+ /* FALLTHROUGH */
case ('M'):
/* FALLTHROUGH */
case ('m'):