diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-05-16 01:16:26 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-05-16 01:16:26 +0000 |
commit | 7f4eb668f75e7eb54e741c9b360b86428cab874d (patch) | |
tree | 2a1b5df48985c811bd0228e732d249769c720135 /usr.bin/mandoc/mdoc.c | |
parent | 08303d07ede570701a32bd51204b1689f2544119 (diff) |
allow the single quote as a control character in place of the dot
at all relevant places;
from kristaps@
Diffstat (limited to 'usr.bin/mandoc/mdoc.c')
-rw-r--r-- | usr.bin/mandoc/mdoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc.c b/usr.bin/mandoc/mdoc.c index df6712e1537..45930652491 100644 --- a/usr.bin/mandoc/mdoc.c +++ b/usr.bin/mandoc/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.50 2010/05/15 18:25:51 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.51 2010/05/16 01:16:25 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -287,7 +287,7 @@ mdoc_parseln(struct mdoc *m, int ln, char *buf) return(0); m->flags |= MDOC_NEWLINE; - return('.' == *buf ? + return(('.' == *buf || '\'' == *buf) ? mdoc_pmacro(m, ln, buf) : mdoc_ptext(m, ln, buf)); } |