aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc.c')
-rw-r--r--mandoc.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/mandoc.c b/mandoc.c
index 5505c5f3..41d4196a 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -1,4 +1,4 @@
-/* $Id: mandoc.c,v 1.30 2010/08/24 12:18:48 kristaps Exp $ */
+/* $Id: mandoc.c,v 1.31 2010/08/24 13:07:01 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -55,8 +55,6 @@ mandoc_special(char *p)
/* FALLTHROUGH */
case ('x'):
/* FALLTHROUGH */
- case ('w'):
- /* FALLTHROUGH */
case ('S'):
/* FALLTHROUGH */
case ('R'):
@@ -178,6 +176,12 @@ mandoc_special(char *p)
return(*p ? (int)(p - sv) : 0);
}
break;
+ case ('w'):
+ if ('\'' == *p++) {
+ term = '\'';
+ break;
+ }
+ /* FALLTHROUGH */
default:
len = 1;
p--;