diff options
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 4 |
1 files changed, 4 insertions, 0 deletions
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]); |