]> git.cameronkatri.com Git - mandoc.git/blobdiff - mandoc_msg.c
Split the excessively generic diagnostic message "invalid escape sequence"
[mandoc.git] / mandoc_msg.c
index 0361fc8042050642b5a5aba852dca04d9d16b0a7..baa709c70c83e20723797ed213a81ecbebf02627 100644 (file)
@@ -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 \"\"",
 
@@ -222,6 +223,7 @@ static      const char *const type_message[MANDOCERR_MAX] = {
        "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",
@@ -234,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",