summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-14 16:02:29 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-14 16:02:29 +0000
commita8abc3fbebee0c90a4f19d6803e0f90d313ba868 (patch)
tree7c6a8fe1ce8b82484ed3c8bdb6ce390a14127328 /mdoc_validate.c
parent942a78c97b19b539fd3a3930bb50cdede29cd3a7 (diff)
downloadmandoc-a8abc3fbebee0c90a4f19d6803e0f90d313ba868.tar.gz
"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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index ad33b1f4..a8c6b956 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -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));
}