=================================================================== RCS file: /cvs/mandoc/mandoc_msg.c,v retrieving revision 1.11 retrieving revision 1.20 diff -u -p -r1.11 -r1.20 --- mandoc/mandoc_msg.c 2020/04/24 12:02:33 1.11 +++ mandoc/mandoc_msg.c 2022/06/07 09:54:40 1.20 @@ -1,6 +1,6 @@ -/* $OpenBSD: mandoc_msg.c,v 1.11 2020/04/24 12:02:33 schwarze Exp $ */ +/* $OpenBSD: mandoc_msg.c,v 1.20 2022/06/07 09:54:40 schwarze Exp $ */ /* - * Copyright (c) 2014-2020 Ingo Schwarze + * Copyright (c) 2014-2022 Ingo Schwarze * Copyright (c) 2010, 2011 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any @@ -55,7 +55,6 @@ static const char *const type_message[MANDOCERR_MAX] = "unknown architecture", "operating system explicitly specified", "RCS id missing", - "referenced manual not found", "generic style suggestion", @@ -69,10 +68,12 @@ static const char *const type_message[MANDOCERR_MAX] = "consider using OS macro", "errnos out of order", "duplicate errno", + "referenced manual not found", "trailing delimiter", "no blank before trailing delimiter", "fill mode already enabled, skipping", "fill mode already disabled, skipping", + "input text line longer than 80 bytes", "verbatim \"--\", maybe consider using \\(em", "function name without markup", "whitespace at end of input line", @@ -165,13 +166,14 @@ static const char *const type_message[MANDOCERR_MAX] = "invalid Boolean argument", "argument contains two font escapes", "unknown font, skipping request", + "ignoring distance argument", "odd number of characters in request", /* related to plain text */ "blank line in fill mode, using .sp", "tab in filled text", "new sentence, new line", - "invalid escape sequence", + "invalid escape sequence argument", "undefined escape, printing literally", "undefined string, using \"\"", @@ -190,6 +192,7 @@ static const char *const type_message[MANDOCERR_MAX] = "empty tbl layout", "invalid character in tbl layout", "unmatched parenthesis in tbl layout", + "ignoring excessive spacing in tbl layout", "tbl without any data cells", "ignoring data in spanned tbl cell", "ignoring extra tbl data cells", @@ -214,11 +217,13 @@ static const char *const type_message[MANDOCERR_MAX] = "escaped character not allowed in a name", "using macro argument outside macro", "argument number is not numeric", + "negative argument, using 0", "NOT IMPLEMENTED: Bd -file", "skipping display without arguments", "missing list type, using -item", "argument is not numeric, using 1", "argument is not a character", + "skipping unusable escape sequence", "missing manual name, using \"\"", "uname(3) system call failed, using UNKNOWN", "unknown standard specifier", @@ -231,6 +236,12 @@ static const char *const type_message[MANDOCERR_MAX] = "skipping excess arguments", "divide by zero", + /* related to escape sequences */ + "incomplete escape sequence", + "invalid special character", + "unknown special character", + "invalid escape argument delimiter", + "unsupported feature", "input too large", "unsupported control character", @@ -243,6 +254,8 @@ static const char *const type_message[MANDOCERR_MAX] = "eqn delim option in tbl", "unsupported tbl layout modifier", "ignoring macro in table", + "skipping tbl in -Tman mode", + "skipping eqn in -Tman mode", /* bad command line arguments */ NULL, @@ -253,6 +266,7 @@ static const char *const type_message[MANDOCERR_MAX] = "bad option value", "duplicate option value", "no such tag", + "-Tmarkdown unsupported for man(7) input", /* system errors */ NULL,