summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 23:44:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 23:44:02 +0000
commit2839585ee67cd98d7251f8bd59de30af7729296a (patch)
tree475e6046877e00bf3bc052c3d8672bb27b5cdad1 /mdoc_term.c
parentc4788e9b021a0c7106d8aeb617d236222ebe19b6 (diff)
downloadmandoc-2839585ee67cd98d7251f8bd59de30af7729296a.tar.gz
Remove `Pp' and `Lp' checks in front-ends to make sure we're not
printing as the first or last child of an `Ss' or `Sh': this is now ensured within the validator.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index ad2b3ab3..820db16e 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1815,11 +1815,6 @@ termp_sp_pre(DECL_ARGS)
len = 0;
break;
default:
- assert(n->parent);
- if ((NULL == n->next || NULL == n->prev) &&
- (MDOC_Ss == n->parent->tok ||
- MDOC_Sh == n->parent->tok))
- return(0);
len = 1;
break;
}