version 1.12, 2020/09/01 18:25:27 |
version 1.20, 2022/06/07 09:54:40 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
/* |
/* |
* Copyright (c) 2014-2020 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2014-2022 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* 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 |
Line 55 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 69 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", |
"fill mode already disabled, skipping", |
"fill mode already disabled, skipping", |
|
"input text line longer than 80 bytes", |
"verbatim \"--\", maybe consider using \\(em", |
"verbatim \"--\", maybe consider using \\(em", |
"function name without markup", |
"function name without markup", |
"whitespace at end of input line", |
"whitespace at end of input line", |
Line 165 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 166 static const char *const type_message[MANDOCERR_MAX] = |
|
"invalid Boolean argument", |
"invalid Boolean argument", |
"argument contains two font escapes", |
"argument contains two font escapes", |
"unknown font, skipping request", |
"unknown font, skipping request", |
|
"ignoring distance argument", |
"odd number of characters in request", |
"odd number of characters in request", |
|
|
/* related to plain text */ |
/* related to plain text */ |
"blank line in fill mode, using .sp", |
"blank line in fill mode, using .sp", |
"tab in filled text", |
"tab in filled text", |
"new sentence, new line", |
"new sentence, new line", |
"invalid escape sequence", |
"invalid escape sequence argument", |
"undefined escape, printing literally", |
"undefined escape, printing literally", |
"undefined string, using \"\"", |
"undefined string, using \"\"", |
|
|
Line 215 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 217 static const char *const type_message[MANDOCERR_MAX] = |
|
"escaped character not allowed in a name", |
"escaped character not allowed in a name", |
"using macro argument outside macro", |
"using macro argument outside macro", |
"argument number is not numeric", |
"argument number is not numeric", |
|
"negative argument, using 0", |
"NOT IMPLEMENTED: Bd -file", |
"NOT IMPLEMENTED: Bd -file", |
"skipping display without arguments", |
"skipping display without arguments", |
"missing list type, using -item", |
"missing list type, using -item", |
"argument is not numeric, using 1", |
"argument is not numeric, using 1", |
"argument is not a character", |
"argument is not a character", |
|
"skipping unusable escape sequence", |
"missing manual name, using \"\"", |
"missing manual name, using \"\"", |
"uname(3) system call failed, using UNKNOWN", |
"uname(3) system call failed, using UNKNOWN", |
"unknown standard specifier", |
"unknown standard specifier", |
Line 232 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 236 static const char *const type_message[MANDOCERR_MAX] = |
|
"skipping excess arguments", |
"skipping excess arguments", |
"divide by zero", |
"divide by zero", |
|
|
|
/* related to escape sequences */ |
|
"incomplete escape sequence", |
|
"invalid special character", |
|
"unknown special character", |
|
"invalid escape argument delimiter", |
|
|
"unsupported feature", |
"unsupported feature", |
"input too large", |
"input too large", |
"unsupported control character", |
"unsupported control character", |
Line 244 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 254 static const char *const type_message[MANDOCERR_MAX] = |
|
"eqn delim option in tbl", |
"eqn delim option in tbl", |
"unsupported tbl layout modifier", |
"unsupported tbl layout modifier", |
"ignoring macro in table", |
"ignoring macro in table", |
|
"skipping tbl in -Tman mode", |
|
"skipping eqn in -Tman mode", |
|
|
/* bad command line arguments */ |
/* bad command line arguments */ |
NULL, |
NULL, |
Line 254 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 266 static const char *const type_message[MANDOCERR_MAX] = |
|
"bad option value", |
"bad option value", |
"duplicate option value", |
"duplicate option value", |
"no such tag", |
"no such tag", |
|
"-Tmarkdown unsupported for man(7) input", |
|
|
/* system errors */ |
/* system errors */ |
NULL, |
NULL, |