version 1.9, 2020/01/19 16:44:50 |
version 1.13, 2021/06/02 18:28:19 |
|
|
/* $Id$ */ |
/* $OpenBSD$ */ |
/* |
/* |
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
|
* Copyright (c) 2014-2020 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2014-2020 Ingo Schwarze <schwarze@openbsd.org> |
|
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
* |
|
* Implementation of warning and error messages for mandoc(1). |
*/ |
*/ |
#include "config.h" |
#include "config.h" |
|
|
Line 53 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 55 static const char *const type_message[MANDOCERR_MAX] = |
|
"unknown architecture", |
"unknown architecture", |
"operating system explicitly specified", |
"operating system explicitly specified", |
"RCS id missing", |
"RCS id missing", |
"referenced manual not found", |
|
|
|
"generic style suggestion", |
"generic style suggestion", |
|
|
Line 67 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 68 static const char *const type_message[MANDOCERR_MAX] = |
|
"consider using OS macro", |
"consider using OS macro", |
"errnos out of order", |
"errnos out of order", |
"duplicate errno", |
"duplicate errno", |
|
"referenced manual not found", |
"trailing delimiter", |
"trailing delimiter", |
"no blank before trailing delimiter", |
"no blank before trailing delimiter", |
"fill mode already enabled, skipping", |
"fill mode already enabled, skipping", |
Line 83 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 85 static const char *const type_message[MANDOCERR_MAX] = |
|
"missing manual title, using \"\"", |
"missing manual title, using \"\"", |
"missing manual section, using \"\"", |
"missing manual section, using \"\"", |
"unknown manual section", |
"unknown manual section", |
|
"filename/section mismatch", |
"missing date, using \"\"", |
"missing date, using \"\"", |
"cannot parse date, using it verbatim", |
"cannot parse date, using it verbatim", |
"date in the future, using it anyway", |
"date in the future, using it anyway", |
Line 187 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 190 static const char *const type_message[MANDOCERR_MAX] = |
|
"empty tbl layout", |
"empty tbl layout", |
"invalid character in tbl layout", |
"invalid character in tbl layout", |
"unmatched parenthesis in tbl layout", |
"unmatched parenthesis in tbl layout", |
|
"ignoring excessive spacing in tbl layout", |
"tbl without any data cells", |
"tbl without any data cells", |
"ignoring data in spanned tbl cell", |
"ignoring data in spanned tbl cell", |
"ignoring extra tbl data cells", |
"ignoring extra tbl data cells", |
Line 223 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 227 static const char *const type_message[MANDOCERR_MAX] = |
|
"excessive shift", |
"excessive shift", |
"NOT IMPLEMENTED: .so with absolute path or \"..\"", |
"NOT IMPLEMENTED: .so with absolute path or \"..\"", |
".so request failed", |
".so request failed", |
|
"skipping tag containing whitespace", |
"skipping all arguments", |
"skipping all arguments", |
"skipping excess arguments", |
"skipping excess arguments", |
"divide by zero", |
"divide by zero", |