diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-21 13:47:02 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-21 13:47:02 +0000 |
commit | b032e56868d3030613d6760a5eff908e2776ee36 (patch) | |
tree | 1862913ae26ce62b3c66d99094f645134e52189f /term.c | |
parent | ef888a08d47230dfb47dcd8c4d2c2b7a0387181e (diff) | |
download | mandoc-b032e56868d3030613d6760a5eff908e2776ee36.tar.gz |
Freed more macros from zero-length restrictions.
Fixed `Fn' spacing.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |