aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/string/name.out_lint
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-06-05 13:54:09 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-06-05 13:54:09 +0000
commit3a43ce11ac1aec9b2c00d7c5f966919b71f5eda7 (patch)
treef1c2dbb9cb9eabff8877de71fea198ced3487b5e /regress/roff/string/name.out_lint
parent2e4490e7023dd483d992df8eb6f75860fd445fe4 (diff)
downloadmandoc-3a43ce11ac1aec9b2c00d7c5f966919b71f5eda7.tar.gz
mandoc-3a43ce11ac1aec9b2c00d7c5f966919b71f5eda7.tar.zst
mandoc-3a43ce11ac1aec9b2c00d7c5f966919b71f5eda7.zip
With the improved escape sequence parser, it becomes easy to also improve
diagnostics. Distinguish "incomplete escape sequence", "invalid special character", and "unknown special character" from the generic "invalid escape sequence", also promoting them from WARNING to ERROR because incomplete escape sequences are severe syntax violations and because encountering an invalid or unknown special character makes it likely that part of the document content intended by the authors gets lost.
Diffstat (limited to 'regress/roff/string/name.out_lint')
-rw-r--r--regress/roff/string/name.out_lint2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/roff/string/name.out_lint b/regress/roff/string/name.out_lint
index 13283f5d..55f1f87b 100644
--- a/regress/roff/string/name.out_lint
+++ b/regress/roff/string/name.out_lint
@@ -1,6 +1,6 @@
mandoc: name.in:11:5: ERROR: escaped character not allowed in a name: bs\e
mandoc: name.in:14:5: ERROR: escaped character not allowed in a name: bl\
-mandoc: name.in:18:29: WARNING: invalid escape sequence: \*[norm
+mandoc: name.in:18:29: ERROR: incomplete escape sequence: \*[norm
mandoc: name.in:18:28: STYLE: whitespace at end of input line
mandoc: name.in:20:7: WARNING: undefined string, using "": quot
mandoc: name.in:20:6: STYLE: whitespace at end of input line