From d3e623b20e91ba55cfffcf4118ec1a7e54c0ce6d Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 14 May 2010 15:26:39 +0000 Subject: "Invalid standard argument should be a warning. Just leak it into the output." (patch by Joerg Sonnenberger) --- mdoc_validate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_validate.c') diff --git a/mdoc_validate.c b/mdoc_validate.c index 5d264dac..46470b79 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.73 2010/05/14 14:34:29 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.74 2010/05/14 15:26:39 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -1162,7 +1162,7 @@ post_st(POST_ARGS) if (mdoc_a2st(mdoc->last->child->string)) return(1); - return(mdoc_nerr(mdoc, mdoc->last, EBADSTAND)); + return(mdoc_nwarn(mdoc, mdoc->last, EBADSTAND)); } -- cgit v1.2.3