From 239614951577ba74078ca14afdba3508fb622fcb Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 14 Aug 2018 01:27:48 +0000 Subject: support tail arguments on the .ME and .UE macros, used for example in the ditroff(7) manual of the groff package --- man_term.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man_term.c') diff --git a/man_term.c b/man_term.c index b5723ccf..5838fa19 100644 --- a/man_term.c +++ b/man_term.c @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.211 2018/06/10 15:12:35 schwarze Exp $ */ +/* $Id: man_term.c,v 1.212 2018/08/14 01:27:48 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2015, 2017, 2018 Ingo Schwarze @@ -884,6 +884,8 @@ print_man_node(DECL_ARGS) } else if (*n->string == ' ' && n->flags & NODE_LINE && (p->flags & TERMP_NONEWLINE) == 0) term_newln(p); + else if (n->flags & NODE_DELIMC) + p->flags |= TERMP_NOSPACE; term_word(p, n->string); goto out; -- cgit v1.2.3