diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-14 16:02:29 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-14 16:02:29 +0000 |
commit | 0d0017d2dfe6bf076de2177bd2708cc6e3d753dc (patch) | |
tree | 51ed387e28fa8eb05fb98755444107d60196b5be /mdoc_validate.c | |
parent | d3e623b20e91ba55cfffcf4118ec1a7e54c0ce6d (diff) | |
download | mandoc-0d0017d2dfe6bf076de2177bd2708cc6e3d753dc.tar.gz mandoc-0d0017d2dfe6bf076de2177bd2708cc6e3d753dc.tar.zst mandoc-0d0017d2dfe6bf076de2177bd2708cc6e3d753dc.zip |
"Warn on unknown argument for .At and print it like [new] groff." (patch by Joerg Sonnenberger, ed. Kristaps)
Keep short-log of commits in index.sgml.
Document compatibility with new/old groff in mdoc.7.
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 46470b79..1e3a4ec3 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.74 2010/05/14 15:26:39 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.75 2010/05/14 16:02:29 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -921,7 +921,7 @@ post_at(POST_ARGS) return(mdoc_nerr(mdoc, mdoc->last, EATT)); if (mdoc_a2att(mdoc->last->child->string)) return(1); - return(mdoc_nerr(mdoc, mdoc->last, EATT)); + return(mdoc_nwarn(mdoc, mdoc->last, EATT)); } |