diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 16:38:15 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 16:38:15 +0000 |
commit | bda49a7856bd1000a0e330e4a73d8887cdbeacf2 (patch) | |
tree | c6f441f3b108f6ab6d35938b1670761c5d88320b /mdoc_validate.c | |
parent | 0f5746c0809693081860530e0589dd6c400eb514 (diff) | |
download | mandoc-bda49a7856bd1000a0e330e4a73d8887cdbeacf2.tar.gz |
Added back in MDOC_TEXT stipulation in NAME check (post-Nm punctuation, duh).
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index b19aba56..d39645bf 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1168,6 +1168,8 @@ post_sh_body(POST_ARGS) for ( ; n && n->next; n = n->next) { if (MDOC_ELEM == n->type && MDOC_Nm == n->tok) continue; + if (MDOC_TEXT == n->type) + continue; if ( ! mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC)) return(0); } |