summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 487a8d3f..f0ae72c1 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1573,12 +1573,14 @@ post_bl(POST_ARGS)
for (n = mdoc->last->child; n; n = n->next) {
switch (n->tok) {
- case (MDOC_It):
- continue;
- case (MDOC_Sm):
+ case (MDOC_Lp):
/* FALLTHROUGH */
case (MDOC_Pp):
mdoc_nmsg(mdoc, n, MANDOCERR_CHILD);
+ /* FALLTHROUGH */
+ case (MDOC_It):
+ /* FALLTHROUGH */
+ case (MDOC_Sm):
continue;
default:
break;