summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-08-22 15:18:12 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-08-22 15:18:12 +0000
commit376458abdb604004b269f7a724a9fa2b6ca4d89b (patch)
treeee906b9eee0104571d400f7bcd1de9bd6f669ba8
parent6faee699042bd0981dd039e3fd4ecfc2ab3ca5db (diff)
sync to 1.8.4: recognize the \c escape (only used in -man)
-rw-r--r--usr.bin/mandoc/mandoc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandoc.c b/usr.bin/mandoc/mandoc.c
index 6a037a63f98..e6452f90737 100644
--- a/usr.bin/mandoc/mandoc.c
+++ b/usr.bin/mandoc/mandoc.c
@@ -1,4 +1,4 @@
-/* $Id: mandoc.c,v 1.2 2009/07/18 14:44:54 schwarze Exp $ */
+/* $Id: mandoc.c,v 1.3 2009/08/22 15:18:11 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -59,6 +59,8 @@ mandoc_special(const char *p)
/* FALLTHROUGH */
case (':'):
/* FALLTHROUGH */
+ case ('c'):
+ return(2);
case ('e'):
return(2);
case ('f'):