diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-08-24 13:07:01 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-08-24 13:07:01 +0000 |
commit | ac2ee6a683c48e758ae871419ea18b57aa82e14b (patch) | |
tree | c5e97877580b19cfc4de33c45d8d75580fcb92ad /out.c | |
parent | 81374b2c54962e63129d5934a3bc854804cb73c1 (diff) | |
download | mandoc-ac2ee6a683c48e758ae871419ea18b57aa82e14b.tar.gz mandoc-ac2ee6a683c48e758ae871419ea18b57aa82e14b.tar.zst mandoc-ac2ee6a683c48e758ae871419ea18b57aa82e14b.zip |
Stripping out of `\w' groff escape. Yet another for pod2man...
Diffstat (limited to 'out.c')
-rw-r--r-- | out.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 <kristaps@bsd.lv> * @@ -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--; |