warning. From a TODO by schwarze@, originally noted by Brad Smith.
************************************************************************
* Official mandoc TODO.
-* $Id: TODO,v 1.76 2011/01/12 15:31:17 kristaps Exp $
+* $Id: TODO,v 1.77 2011/01/12 15:50:42 kristaps Exp $
************************************************************************
************************************************************************
* error reporting issues
************************************************************************
-- .fi without preceding .nf need not be an ERROR,
- a warning is sufficient; occurs in all postfix manuals
- reported by brad@ Sun, Jan 09, 2011 at 09:45:58PM -0500
-
- downgrade "ERROR: macro requires body argument(s)" to WARNING
for the typical man(7) cases, it keeps confusing people
reminded by brad@ Sun, Jan 09, 2011 at 09:45:58PM -0500
-/* $Id: main.c,v 1.137 2011/01/11 00:11:45 schwarze Exp $ */
+/* $Id: main.c,v 1.138 2011/01/12 15:50:42 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
"list type must come first",
"tag lists require a width argument",
"missing font type",
+ "skipping end of block that is not open",
/* related to bad macro arguments */
"skipping argument",
-/* $Id: man_validate.c,v 1.57 2011/01/01 12:59:17 kristaps Exp $ */
+/* $Id: man_validate.c,v 1.58 2011/01/12 15:50:42 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
{
if ( ! (MAN_LITERAL & m->flags))
- man_nmsg(m, n, MANDOCERR_NOSCOPE);
+ man_nmsg(m, n, MANDOCERR_WNOSCOPE);
m->flags &= ~MAN_LITERAL;
return(1);
-/* $Id: mandoc.h,v 1.52 2011/01/11 00:11:45 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.53 2011/01/12 15:50:42 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
MANDOCERR_LISTFIRST, /* list type must come first */
MANDOCERR_NOWIDTHARG, /* tag lists require a width argument */
MANDOCERR_FONTTYPE, /* missing font type */
+ MANDOCERR_WNOSCOPE, /* skipping end of block that is not open */
/* related to bad macro arguments */
MANDOCERR_IGNARGV, /* skipping argument */