From ac2ee6a683c48e758ae871419ea18b57aa82e14b Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 24 Aug 2010 13:07:01 +0000 Subject: Stripping out of `\w' groff escape. Yet another for pod2man... --- out.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'out.c') diff --git a/out.c b/out.c index 5bc69ca2..6e1dadae 100644 --- a/out.c +++ b/out.c @@ -1,4 +1,4 @@ -/* $Id: out.c,v 1.25 2010/08/24 12:18:49 kristaps Exp $ */ +/* $Id: out.c,v 1.26 2010/08/24 13:07:01 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons * @@ -293,6 +293,12 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t *sz) } else lim = 1; break; + case ('w'): + if ('\'' == wp[i++]) { + term = '\''; + break; + } + /* FALLTHROUGH */ default: *d = DECO_SSPECIAL; i--; -- cgit v1.2.3