summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_validate.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-30 17:42:00 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-30 17:42:00 +0000
commit038f0c90a72f721a19b941a520c5a8b45535f64e (patch)
treea6ead4d46f0eae5694d792b9ccbffea41bdae845 /usr.bin/mandoc/mdoc_validate.c
parent6ef6a9a3366a49c1ffa1ce1aecf1b3f18bbe037c (diff)
Like in groff, if .%B is specified, quote .%T; from kristaps@.
Diffstat (limited to 'usr.bin/mandoc/mdoc_validate.c')
-rw-r--r--usr.bin/mandoc/mdoc_validate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c
index b7b537b8038..0e7f7703b6e 100644
--- a/usr.bin/mandoc/mdoc_validate.c
+++ b/usr.bin/mandoc/mdoc_validate.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_validate.c,v 1.85 2011/01/22 13:55:50 schwarze Exp $ */
+/* $Id: mdoc_validate.c,v 1.86 2011/01/30 17:41:59 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -1660,8 +1660,8 @@ post_rs(POST_ARGS)
break;
if (i < RSORD_MAX) {
- if (MDOC__J == rsord[i])
- mdoc->last->norm->Rs.child_J = nn;
+ if (MDOC__J == rsord[i] || MDOC__B == rsord[i])
+ mdoc->last->norm->Rs.quote_T++;
next = nn->next;
continue;
}