From 55322f2b6bc7563cc1587a7c12f8af8fb9f86913 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 15 Dec 2010 23:44:02 +0000 Subject: 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. --- mdoc_term.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'mdoc_term.c') diff --git a/mdoc_term.c b/mdoc_term.c index 98b4fa70..a5de4519 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.197 2010/12/11 14:40:51 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.198 2010/12/15 23:44:02 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -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; } -- cgit v1.2.3