summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-24 12:09:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-24 12:09:37 +0000
commit9a5060e616c6944846b2714f10747e07ddbab0b8 (patch)
treeb40a49af23c35dc22c563a17523995c08c3a157f /mdoc_validate.c
parent370e251bed6f08c17e4e30f9cc762098f2a3ee46 (diff)
downloadmandoc-9a5060e616c6944846b2714f10747e07ddbab0b8.tar.gz
`An' gives correct error message in encountering arguments/parameters.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 23c51ddc..384fe669 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -912,7 +912,7 @@ post_an(POST_ARGS)
if (mdoc->last->args) {
if (NULL == mdoc->last->child)
return(1);
- return(mdoc_nerr(mdoc, mdoc->last, ELINE));
+ return(mdoc_nerr(mdoc, mdoc->last, ENOLINE));
}
if (mdoc->last->child)