aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 15:37:30 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 15:37:30 +0000
commitb35e18840fdc536364e4d41b021fe53af309bb59 (patch)
treee3a70878bf36aefdb4f8f568eb3a38a112e3dbda /mdoc_term.c
parent41593da964a8b2d9a3a505a574df65af794a486c (diff)
downloadmandoc-b35e18840fdc536364e4d41b021fe53af309bb59.tar.gz
mandoc-b35e18840fdc536364e4d41b021fe53af309bb59.tar.zst
mandoc-b35e18840fdc536364e4d41b021fe53af309bb59.zip
Merge schwarze@'s changes allowing nested displays. Tweak the patch by
making sure output doesn't add a superfluous newline with the nested displays. Also add a COMPATIBILITY note. Rename a macro (DATESIZ) to be in line with OpenBSD (DATESIZE).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 15568dd2..bdc16100 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.195 2010/11/29 13:02:47 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.196 2010/12/05 15:37:30 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -1592,6 +1592,10 @@ termp_bd_pre(DECL_ARGS)
/* FALLTHROUGH */
case (MDOC_Bl):
/* FALLTHROUGH */
+ case (MDOC_D1):
+ /* FALLTHROUGH */
+ case (MDOC_Dl):
+ /* FALLTHROUGH */
case (MDOC_Lp):
/* FALLTHROUGH */
case (MDOC_Pp):