summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index ef9fce61..46849243 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1103,8 +1103,9 @@ post_bl_head(POST_ARGS)
if (n->args->argv[i].arg == MDOC_Column)
break;
- if (i == (int)n->args->argc)
- return(1);
+ if (i == (int)n->args->argc && n->nchild)
+ return(warn_count(mdoc, "==", 0,
+ "line arguments", n->nchild));
if (n->args->argv[i].sz && mdoc->last->child)
return(mdoc_nerr(mdoc, n, ECOLMIS));