From b6860e4400b8b5350bb31fa72b4632dfac772774 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 24 Jul 2009 12:09:37 +0000 Subject: [PATCH] `An' gives correct error message in encountering arguments/parameters. --- mdoc_validate.c | 4 ++-- 1 file 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 * @@ -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) -- 2.47.1