diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | ascii.in | 1 | ||||
-rw-r--r-- | mdoc.7 | 2 | ||||
-rw-r--r-- | strings.c | 2 | ||||
-rw-r--r-- | term.c | 4 | ||||
-rw-r--r-- | validate.c | 2 |
6 files changed, 8 insertions, 5 deletions
@@ -9,7 +9,7 @@ INSTALL_DATA = install -m 0444 INSTALL_LIB = install -m 0644 INSTALL_MAN = $(INSTALL_DATA) -VERSION = 1.6.7 +VERSION = 1.6.8 VDATE = 21 March 2009 VFLAGS = -DVERSION=\"$(VERSION)\" @@ -29,6 +29,7 @@ LINE("\\", 1, "\\", 1) LINE("\'", 1, "\'", 1) LINE("`", 1, "`", 1) +LINE("%", 1, "%", 1) LINE("-", 1, "-", 1) LINE(" ", 1, " ", 1) LINE(".", 1, ".", 1) @@ -786,7 +786,7 @@ then the macro accepts an arbitrary number of arguments. .It \&.Er Ta Yes Ta Yes Ta >0 .It \&.Ev Ta Yes Ta Yes Ta n .It \&.Ex Ta \&No Ta \&No Ta 0 -.It \&.Fa Ta Yes Ta Yes Ta >0 +.It \&.Fa Ta Yes Ta Yes Ta n .It \&.Fd Ta \&No Ta \&No Ta >0 .It \&.Fl Ta Yes Ta Yes Ta n .It \&.Fn Ta Yes Ta Yes Ta >0 @@ -87,6 +87,8 @@ mdoc_isescape(const char *p) /* FALLTHROUGH */ case ('-'): /* FALLTHROUGH */ + case ('%'): + /* FALLTHROUGH */ case (' '): /* FALLTHROUGH */ case ('|'): @@ -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); @@ -220,7 +220,7 @@ const struct valids mdoc_valids[MDOC_MAX] = { { pres_er, posts_text }, /* Er */ { NULL, NULL }, /* Ev */ { pres_ex, posts_ex }, /* Ex */ - { NULL, posts_text }, /* Fa */ + { NULL, NULL }, /* Fa */ { pres_fd, posts_wtext }, /* Fd */ { NULL, NULL }, /* Fl */ { NULL, posts_text }, /* Fn */ |