diff options
author | 2014-11-27 23:35:03 +0000 | |
---|---|---|
committer | 2014-11-27 23:35:03 +0000 | |
commit | 1164a3251b7779f9a3c1d2151c49fd6eb46d189c (patch) | |
tree | 50b6cfb0787159ed57131af1ad89dc5cd61db6ed /usr.bin/mandoc/mdoc_validate.c | |
parent | Use if_nametoindex() to get the interface index, and thereby check (diff) | |
download | wireguard-openbsd-1164a3251b7779f9a3c1d2151c49fd6eb46d189c.tar.xz wireguard-openbsd-1164a3251b7779f9a3c1d2151c49fd6eb46d189c.zip |
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 'usr.bin/mandoc/mdoc_validate.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_validate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c index 80dee7ea282..26b1aeb813d 100644 --- a/usr.bin/mandoc/mdoc_validate.c +++ b/usr.bin/mandoc/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdoc_validate.c,v 1.173 2014/11/27 16:20:27 schwarze Exp $ */ +/* $OpenBSD: mdoc_validate.c,v 1.174 2014/11/27 23:35:03 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -759,7 +759,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, |