=================================================================== RCS file: /cvs/mandoc/read.c,v retrieving revision 1.183 retrieving revision 1.188 diff -u -p -r1.183 -r1.188 --- mandoc/read.c 2017/06/29 15:22:17 1.183 +++ mandoc/read.c 2017/07/04 14:40:38 1.188 @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.183 2017/06/29 15:22:17 schwarze Exp $ */ +/* $Id: read.c,v 1.188 2017/07/04 14:40:38 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2017 Ingo Schwarze @@ -75,7 +75,7 @@ static void mparse_parse_buffer(struct mparse *, str static const enum mandocerr mandoclimits[MANDOCLEVEL_MAX] = { MANDOCERR_OK, - MANDOCERR_STYLE, + MANDOCERR_OK, MANDOCERR_WARNING, MANDOCERR_ERROR, MANDOCERR_UNSUPP, @@ -93,6 +93,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "unknown architecture", "operating system explicitly specified", "RCS id missing", + "referenced manual not found", "generic style suggestion", @@ -103,7 +104,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "consider using OS macro", "errnos out of order", "duplicate errno", - "description line ends with a full stop", + "trailing delimiter", "no blank before trailing delimiter", "function name without markup", @@ -117,6 +118,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "unknown manual section", "missing date, using today's date", "cannot parse date, using it verbatim", + "date in the future, using it anyway", "missing Os macro, using \"\"", "duplicate prologue macro", "late prologue macro", @@ -138,6 +140,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "sections out of conventional order", "duplicate section title", "unexpected section", + "cross reference to self", "unusual Xr order", "unusual Xr punctuation", "AUTHORS section without An macro",