diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-24 12:09:37 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-24 12:09:37 +0000 |
commit | 9a5060e616c6944846b2714f10747e07ddbab0b8 (patch) | |
tree | b40a49af23c35dc22c563a17523995c08c3a157f | |
parent | 370e251bed6f08c17e4e30f9cc762098f2a3ee46 (diff) | |
download | mandoc-9a5060e616c6944846b2714f10747e07ddbab0b8.tar.gz |
`An' gives correct error message in encountering arguments/parameters.
-rw-r--r-- | mdoc_validate.c | 2 |
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) |