From 047b0d2e6070784d0516688b40c02107e6eb1451 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 16 May 2024 21:27:39 +0000 Subject: Check that lower-case variants of UTF-16 surrogate escape sequences are rejected with the correct error message. --- regress/usr.bin/mandoc/char/unicode/input.in | Bin 2948 -> 2964 bytes regress/usr.bin/mandoc/char/unicode/input.out_lint | 14 ++++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'regress/usr.bin') diff --git a/regress/usr.bin/mandoc/char/unicode/input.in b/regress/usr.bin/mandoc/char/unicode/input.in index 845af5ffbb4..561ae8a3f1a 100644 Binary files a/regress/usr.bin/mandoc/char/unicode/input.in and b/regress/usr.bin/mandoc/char/unicode/input.in 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 -- cgit v1.2.3