From 970476b50a74492edd4cf5202324ba6c1edc6229 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 23 Feb 2015 13:55:55 +0000 Subject: oops, in NAME, don't nag about the comma after .Nm --- mdoc_validate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mdoc_validate.c b/mdoc_validate.c index c434d2b3..11365302 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1763,6 +1763,10 @@ post_sh_name(POST_ARGS) mandoc_msg(MANDOCERR_NAMESEC_ND, mdoc->parse, n->line, n->pos, NULL); break; + case MDOC_MAX: + if (hasnm) + break; + /* FALLTHROUGH */ default: mandoc_msg(MANDOCERR_NAMESEC_BAD, mdoc->parse, n->line, n->pos, mdoc_macronames[n->tok]); -- cgit