=================================================================== RCS file: /cvs/mandoc/mandoc_msg.c,v retrieving revision 1.16 retrieving revision 1.20 diff -u -p -r1.16 -r1.20 --- mandoc/mandoc_msg.c 2021/08/14 13:53:08 1.16 +++ mandoc/mandoc_msg.c 2022/06/07 09:54:40 1.20 @@ -1,6 +1,6 @@ -/* $OpenBSD: mandoc_msg.c,v 1.16 2021/08/14 13:53:08 schwarze Exp $ */ +/* $OpenBSD: mandoc_msg.c,v 1.20 2022/06/07 09:54:40 schwarze Exp $ */ /* - * Copyright (c) 2014-2021 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 @@ -166,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 \"\"", @@ -216,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", @@ -232,6 +235,12 @@ static const char *const type_message[MANDOCERR_MAX] = "skipping all arguments", "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",