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 | b6860e4400b8b5350bb31fa72b4632dfac772774 (patch) | |
tree | 638e05cdd5368d37f26e422af7daeabbdbc790d9 /mdoc_validate.c | |
parent | edf25b7554abd51f5ba18f7a699a5256183886ab (diff) | |
download | mandoc-b6860e4400b8b5350bb31fa72b4632dfac772774.tar.gz mandoc-b6860e4400b8b5350bb31fa72b4632dfac772774.tar.zst mandoc-b6860e4400b8b5350bb31fa72b4632dfac772774.zip |
`An' gives correct error message in encountering arguments/parameters.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index 797642aa..9d043526 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.39 2009/07/23 08:36:32 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.40 2009/07/24 12:09:37 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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) |