=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/read.c,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- src/usr.bin/mandoc/read.c 2015/01/15 04:26:06 1.86 +++ src/usr.bin/mandoc/read.c 2015/01/20 21:12:46 1.87 @@ -1,4 +1,4 @@ -/* $OpenBSD: read.c,v 1.86 2015/01/15 04:26:06 schwarze Exp $ */ +/* $OpenBSD: read.c,v 1.87 2015/01/20 21:12:46 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2015 Ingo Schwarze @@ -75,8 +75,8 @@ MANDOCERR_WARNING, MANDOCERR_WARNING, MANDOCERR_ERROR, + MANDOCERR_UNSUPP, MANDOCERR_MAX, - MANDOCERR_MAX, MANDOCERR_MAX }; @@ -175,22 +175,18 @@ "unexpected end of equation", /* related to tables */ - "bad table syntax", - "bad table option", - "bad table layout", "no table layout cells specified", "no table data cells specified", "ignore data in cell", "data block still open", "ignoring extra data cells", - "ignoring macro in table", /* related to document structure and macros */ NULL, - "input too large", "input stack limit exceeded, infinite loop?", "skipping bad character", "skipping unknown macro", + "skipping insecure request", "skipping item outside list", "skipping column outside column list", "skipping end of block that is not open", @@ -211,6 +207,14 @@ "skipping all arguments", "skipping excess arguments", "divide by zero", + + "unsupported feature", + "input too large", + "unsupported roff request", + "unsupported table syntax", + "unsupported table option", + "unsupported table layout", + "ignoring macro in table", }; static const char * const mandoclevels[MANDOCLEVEL_MAX] = { @@ -218,7 +222,7 @@ "RESERVED", "WARNING", "ERROR", - "FATAL", + "UNSUPP", "BADARG", "SYSERR" }; @@ -936,7 +940,7 @@ { enum mandoclevel level; - level = MANDOCLEVEL_ERROR; + level = MANDOCLEVEL_UNSUPP; while (er < mandoclimits[level]) level--;