From: schwarze Date: Thu, 16 May 2024 21:27:38 +0000 (+0000) Subject: Check that lower-case variants of UTF-16 surrogate escape sequences X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=631d5f39368afddae8e98d071834d04a914e98c7;p=openbsd Check that lower-case variants of UTF-16 surrogate escape sequences are rejected with the correct error message. --- 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