summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-27 23:40:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-27 23:40:19 +0000
commitd12c35edfd44311ebd716c807ea9f72efa660337 (patch)
tree25bf441b641c3c291192faed5b50e573572513d4 /mdoc_validate.c
parente60121aa36205c920bf51da52a8b1ca357beb594 (diff)
downloadmandoc-d12c35edfd44311ebd716c807ea9f72efa660337.tar.gz
Downgrade .Bd -file from FATAL to ERROR.
Since this was the last remaining FATAL error in this area, this change will allow major simplifications in the mdoc(7) parser.
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 e5849068..68a2e6ea 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -761,7 +761,7 @@ pre_bd(PRE_ARGS)
case MDOC_File:
mandoc_msg(MANDOCERR_BD_FILE, mdoc->parse,
n->line, n->pos, NULL);
- return(0);
+ break;
case MDOC_Offset:
if (0 == argv->sz) {
mandoc_msg(MANDOCERR_ARG_EMPTY,