From 0a0adafcdad00a607e52e6644b018e6d26bcc1db Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 21 Mar 2009 13:47:02 +0000 Subject: Freed more macros from zero-length restrictions. Fixed `Fn' spacing. --- term.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'term.c') diff --git a/term.c b/term.c index 18067505..2ec2390b 100644 --- a/term.c +++ b/term.c @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.66 2009/03/21 13:26:30 kristaps Exp $ */ +/* $Id: term.c,v 1.67 2009/03/21 13:47:02 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -1171,9 +1171,9 @@ termp_fn_pre(DECL_ARGS) term_word(p, node->child->string); p->flags &= ~ttypes[TTYPE_FUNC_NAME]; + p->flags |= TERMP_NOSPACE; term_word(p, "("); - p->flags |= TERMP_NOSPACE; for (n = node->child->next; n; n = n->next) { p->flags |= ttypes[TTYPE_FUNC_ARG]; term_word(p, n->string); @@ -1231,7 +1231,7 @@ termp_fa_pre(DECL_ARGS) term_word(p, ","); } - if (node->next && node->next->tok == MDOC_Fa) + if (node->child && node->next && node->next->tok == MDOC_Fa) term_word(p, ","); return(0); -- cgit v1.2.3