From d99e0a75f565996f4d42d4f40627fc4951d4e98c Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 24 Aug 2010 13:39:37 +0000 Subject: Strip out `\k' escape. --- man.7 | 4 +++- mandoc.c | 4 ++-- mdoc.7 | 4 +++- out.c | 4 +++- 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 .\" @@ -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 * @@ -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 .\" Copyright (c) 2010 Ingo Schwarze @@ -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 * @@ -220,6 +220,8 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t *sz) break; } break; + case ('k'): + /* FALLTHROUGH */ case ('M'): /* FALLTHROUGH */ case ('m'): -- cgit v1.2.3