=================================================================== RCS file: /cvs/mandoc/mandoc_msg.c,v retrieving revision 1.18 retrieving revision 1.21 diff -u -p -r1.18 -r1.21 --- mandoc/mandoc_msg.c 2022/04/28 16:21:09 1.18 +++ mandoc/mandoc_msg.c 2025/01/05 18:14:39 1.21 @@ -1,6 +1,6 @@ -/* $OpenBSD: mandoc_msg.c,v 1.18 2022/04/28 16:21:09 schwarze Exp $ */ +/* $OpenBSD: mandoc_msg.c,v 1.21 2025/01/05 18:14:39 schwarze Exp $ */ /* - * Copyright (c) 2014-2022 Ingo Schwarze + * Copyright (c) 2014-2022, 2025 Ingo Schwarze * Copyright (c) 2010, 2011 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any @@ -173,7 +173,7 @@ static const char *const type_message[MANDOCERR_MAX] = "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 \"\"", @@ -192,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 invalid column width in tbl layout", "ignoring excessive spacing in tbl layout", "tbl without any data cells", "ignoring data in spanned tbl cell", @@ -235,6 +236,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",