aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 16:27:53 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 16:27:53 +0000
commit2c7d8f319fcab79d83a632f37bdacf5ff71f26c1 (patch)
tree045a226b771201f7e52750c6465b6269a13d4dc5 /mdoc_term.c
parent0bbea1b848cacc7d35f6c63a0b8e16e37d1ae43f (diff)
downloadmandoc-2c7d8f319fcab79d83a632f37bdacf5ff71f26c1.tar.gz
mandoc-2c7d8f319fcab79d83a632f37bdacf5ff71f26c1.tar.zst
mandoc-2c7d8f319fcab79d83a632f37bdacf5ff71f26c1.zip
Allow `Bd' to accept (warn about then ignore) in-line arguments.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 12e3afda..fbffb6c0 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.115 2010/04/06 11:28:17 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.116 2010/04/06 16:27:53 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1604,8 +1604,8 @@ termp_bd_pre(DECL_ARGS)
if (MDOC_BLOCK == n->type) {
print_bvspace(p, n, n);
return(1);
- } else if (MDOC_BODY != n->type)
- return(1);
+ } else if (MDOC_HEAD == n->type)
+ return(0);
nn = n->parent;