-/* $OpenBSD: main.c,v 1.201 2017/07/02 21:17:12 schwarze Exp $ */
+/* $OpenBSD: main.c,v 1.202 2017/07/04 14:40:30 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org>
if (line)
fprintf(stderr, "%d:%d:", line, col + 1);
- fprintf(stderr, " %s",
- t < MANDOCERR_STYLE ? "BASE" : mparse_strlevel(lvl));
+ fprintf(stderr, " %s", mparse_strlevel(lvl));
if ((mparse_msg = mparse_strerror(t)) != NULL)
fprintf(stderr, ": %s", mparse_msg);
-.\" $OpenBSD: mandoc.1,v 1.137 2017/07/03 17:33:01 schwarze Exp $
+.\" $OpenBSD: mandoc.1,v 1.138 2017/07/04 14:40:30 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 3 2017 $
+.Dd $Mdocdate: July 4 2017 $
.Dt MANDOC 1
.Os
.Sh NAME
is not adhered to.
These are not markup mistakes, and neither the quality of formatting
nor portability are in danger.
+Messages of the
+.Cm base
+level are printed with the more intuitive
+.Cm style
+.Ar level
+tag.
.El
.Pp
Messages of the
-/* $OpenBSD: read.c,v 1.159 2017/07/03 17:33:01 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.160 2017/07/04 14:40:30 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
static const enum mandocerr mandoclimits[MANDOCLEVEL_MAX] = {
MANDOCERR_OK,
- MANDOCERR_STYLE,
+ MANDOCERR_OK,
MANDOCERR_WARNING,
MANDOCERR_ERROR,
MANDOCERR_UNSUPP,