diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-14 15:26:39 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-14 15:26:39 +0000 |
commit | d3e623b20e91ba55cfffcf4118ec1a7e54c0ce6d (patch) | |
tree | 55446b33e4b33c7a8a389dbdb0e76f17343848e1 /mdoc_validate.c | |
parent | db3e26b2ee2a26808b75a9102f41c1dd1074bc09 (diff) | |
download | mandoc-d3e623b20e91ba55cfffcf4118ec1a7e54c0ce6d.tar.gz mandoc-d3e623b20e91ba55cfffcf4118ec1a7e54c0ce6d.tar.zst mandoc-d3e623b20e91ba55cfffcf4118ec1a7e54c0ce6d.zip |
"Invalid standard argument should be a warning. Just leak it into the
output." (patch by Joerg Sonnenberger)
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 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 <kristaps@kth.se> * @@ -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)); } |