diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2022-06-07 09:51:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2022-06-07 09:51:04 +0000 |
commit | 5125bbe8dcd36fe33006a7afc754d6419eee0695 (patch) | |
tree | cab2007ec6c2002a5960b91487483f2f71c7903a /regress/usr.bin | |
parent | d187dc2dfb418354570da2b2177b5345bdae66f0 (diff) |
Split the excessively generic diagnostic message "invalid escape sequence"
into the more specific messages "invalid escape argument delimiter"
and "invalid escape sequence argument".
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/char/space/invalid.out_lint | 2 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/O1.out_lint | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/h.out_lint | 2 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/l.in | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/l.out_ascii | 2 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/l.out_lint | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/regress/usr.bin/mandoc/char/space/invalid.out_lint b/regress/usr.bin/mandoc/char/space/invalid.out_lint index 4c146853c3d..3838375973f 100644 --- a/regress/usr.bin/mandoc/char/space/invalid.out_lint +++ b/regress/usr.bin/mandoc/char/space/invalid.out_lint @@ -1,4 +1,4 @@ -mandoc: invalid.in:7:15: WARNING: invalid escape sequence: \[ +mandoc: invalid.in:7:15: WARNING: invalid escape sequence argument: \[ mandoc: invalid.in:8:14: ERROR: invalid special character: \[%] mandoc: invalid.in:9:16: ERROR: invalid special character: \[&] mandoc: invalid.in:10:12: ERROR: invalid special character: \[:] diff --git a/regress/usr.bin/mandoc/roff/esc/O1.out_lint b/regress/usr.bin/mandoc/roff/esc/O1.out_lint index a5b29379bf6..032d1f137f3 100644 --- a/regress/usr.bin/mandoc/roff/esc/O1.out_lint +++ b/regress/usr.bin/mandoc/roff/esc/O1.out_lint @@ -1,5 +1,5 @@ -mandoc: O1.in:11:6: WARNING: invalid escape sequence: \O5 -mandoc: O1.in:12:7: WARNING: invalid escape sequence: \O(52 +mandoc: O1.in:11:6: WARNING: invalid escape sequence argument: \O5 +mandoc: O1.in:12:7: WARNING: invalid escape sequence argument: \O(52 mandoc: O1.in:13:7: UNSUPP: unsupported escape sequence: \O[5dummy] -mandoc: O1.in:14:6: WARNING: invalid escape sequence: \O6 +mandoc: O1.in:14:6: WARNING: invalid escape sequence argument: \O6 mandoc: O1.in:15:6: UNSUPP: unsupported escape sequence: \O0 diff --git a/regress/usr.bin/mandoc/roff/esc/h.out_lint b/regress/usr.bin/mandoc/roff/esc/h.out_lint index b32ea2d2d3e..99d6a1d4651 100644 --- a/regress/usr.bin/mandoc/roff/esc/h.out_lint +++ b/regress/usr.bin/mandoc/roff/esc/h.out_lint @@ -1 +1 @@ -mandoc: h.in:23:21: WARNING: invalid escape sequence: \h- +mandoc: h.in:23:21: ERROR: invalid escape argument delimiter: \h- diff --git a/regress/usr.bin/mandoc/roff/esc/l.in b/regress/usr.bin/mandoc/roff/esc/l.in index d7a42e742cc..47b02d8c7d0 100644 --- a/regress/usr.bin/mandoc/roff/esc/l.in +++ b/regress/usr.bin/mandoc/roff/esc/l.in @@ -1,5 +1,5 @@ -.\" $OpenBSD: l.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ -.Dd $Mdocdate: July 4 2017 $ +.\" $OpenBSD: l.in,v 1.3 2022/06/07 09:51:03 schwarze Exp $ +.Dd $Mdocdate: June 7 2022 $ .Dt ESC-L 1 .Os .Sh NAME @@ -20,4 +20,4 @@ default unit and escape char: >\l'7n\(at'< .br rounding: >\l'0.26ix'< .br -invalid delimiter: >\h-< +invalid delimiter: >\l-< diff --git a/regress/usr.bin/mandoc/roff/esc/l.out_ascii b/regress/usr.bin/mandoc/roff/esc/l.out_ascii index fa052d22946..9e34d79bb20 100644 --- a/regress/usr.bin/mandoc/roff/esc/l.out_ascii +++ b/regress/usr.bin/mandoc/roff/esc/l.out_ascii @@ -13,4 +13,4 @@ DDEESSCCRRIIPPTTIIOONN rounding: >xxx< invalid delimiter: >< -OpenBSD July 4, 2017 OpenBSD +OpenBSD June 7, 2022 OpenBSD diff --git a/regress/usr.bin/mandoc/roff/esc/l.out_lint b/regress/usr.bin/mandoc/roff/esc/l.out_lint index 00a8eaf2be5..87df1bddb3f 100644 --- a/regress/usr.bin/mandoc/roff/esc/l.out_lint +++ b/regress/usr.bin/mandoc/roff/esc/l.out_lint @@ -1 +1 @@ -mandoc: l.in:23:21: WARNING: invalid escape sequence: \h- +mandoc: l.in:23:21: ERROR: invalid escape argument delimiter: \l- |