summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2024-05-16 21:27:39 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2024-05-16 21:27:39 +0000
commit047b0d2e6070784d0516688b40c02107e6eb1451 (patch)
tree8ebe9e5a35478a8a032f7c338b5fb62f2d25d397 /regress/usr.bin
parent69af8ac4a46fb1c3e2f477cede377d132952a24a (diff)
Check that lower-case variants of UTF-16 surrogate escape sequences
are rejected with the correct error message.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/char/unicode/input.inbin2948 -> 2964 bytes
-rw-r--r--regress/usr.bin/mandoc/char/unicode/input.out_lint14
2 files changed, 8 insertions, 6 deletions
diff --git a/regress/usr.bin/mandoc/char/unicode/input.in b/regress/usr.bin/mandoc/char/unicode/input.in
index 845af5ffbb4..561ae8a3f1a 100644
--- a/regress/usr.bin/mandoc/char/unicode/input.in
+++ b/regress/usr.bin/mandoc/char/unicode/input.in
Binary files differ
diff --git a/regress/usr.bin/mandoc/char/unicode/input.out_lint b/regress/usr.bin/mandoc/char/unicode/input.out_lint
index 70f10c27ae4..ea22826bb36 100644
--- a/regress/usr.bin/mandoc/char/unicode/input.out_lint
+++ b/regress/usr.bin/mandoc/char/unicode/input.out_lint
@@ -21,14 +21,16 @@ mandoc: input.in:34:19: ERROR: skipping bad character: 0x80
mandoc: input.in:35:17: ERROR: skipping bad character: 0xe0
mandoc: input.in:35:18: ERROR: skipping bad character: 0x9f
mandoc: input.in:35:19: ERROR: skipping bad character: 0xbf
-mandoc: input.in:43:25: ERROR: skipping bad character: 0xed
-mandoc: input.in:43:26: ERROR: skipping bad character: 0xa0
-mandoc: input.in:43:27: ERROR: skipping bad character: 0x80
+mandoc: input.in:43:33: ERROR: skipping bad character: 0xed
+mandoc: input.in:43:34: ERROR: skipping bad character: 0xa0
+mandoc: input.in:43:35: ERROR: skipping bad character: 0x80
mandoc: input.in:43:17: ERROR: invalid special character: \[uD800]
-mandoc: input.in:44:25: ERROR: skipping bad character: 0xed
-mandoc: input.in:44:26: ERROR: skipping bad character: 0xbf
-mandoc: input.in:44:27: ERROR: skipping bad character: 0xbf
+mandoc: input.in:43:25: ERROR: invalid special character: \[ud800]
+mandoc: input.in:44:33: ERROR: skipping bad character: 0xed
+mandoc: input.in:44:34: ERROR: skipping bad character: 0xbf
+mandoc: input.in:44:35: ERROR: skipping bad character: 0xbf
mandoc: input.in:44:17: ERROR: invalid special character: \[uDFFF]
+mandoc: input.in:44:25: ERROR: invalid special character: \[udfff]
mandoc: input.in:58:19: ERROR: skipping bad character: 0xf0
mandoc: input.in:58:20: ERROR: skipping bad character: 0x80
mandoc: input.in:58:21: ERROR: skipping bad character: 0x80