summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 20:30:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 20:30:35 +0000
commitf73e57538b043ce8b2e27e9f5acc7d95ea3e332f (patch)
tree2da0361b57d2b7e86cf6b4cba8bd38d377e687a0 /mdoc_validate.c
parentf564800eb22e4968fd18f741ca173e45ff1c8f93 (diff)
downloadmandoc-f73e57538b043ce8b2e27e9f5acc7d95ea3e332f.tar.gz
Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c).
Made bad standards into an error (were a warning).
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 22e88f04..8ac9ba24 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1131,7 +1131,7 @@ post_st(POST_ARGS)
if (mdoc_a2st(mdoc->last->child->string))
return(1);
- return(mdoc_nwarn(mdoc, mdoc->last, EBADSTAND));
+ return(mdoc_nerr(mdoc, mdoc->last, EBADSTAND));
}