diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-06-07 09:54:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-06-07 09:54:40 +0000 |
commit | a20dce04f17b9130249adc2db887746a87808270 (patch) | |
tree | 74eb1865cc815f94aec7717395e69443a7b6423b /regress/roff/esc | |
parent | b88fd10e9a00e06f98d28dae5b9b96149bff33ec (diff) | |
download | mandoc-a20dce04f17b9130249adc2db887746a87808270.tar.gz |
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/roff/esc')
-rw-r--r-- | regress/roff/esc/O1.out_lint | 6 | ||||
-rw-r--r-- | regress/roff/esc/h.out_lint | 2 | ||||
-rw-r--r-- | regress/roff/esc/l.in | 4 | ||||
-rw-r--r-- | regress/roff/esc/l.out_ascii | 2 | ||||
-rw-r--r-- | regress/roff/esc/l.out_lint | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/regress/roff/esc/O1.out_lint b/regress/roff/esc/O1.out_lint index a5b29379..032d1f13 100644 --- a/regress/roff/esc/O1.out_lint +++ b/regress/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/roff/esc/h.out_lint b/regress/roff/esc/h.out_lint index b32ea2d2..99d6a1d4 100644 --- a/regress/roff/esc/h.out_lint +++ b/regress/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/roff/esc/l.in b/regress/roff/esc/l.in index 59bb4e32..d45759c1 100644 --- a/regress/roff/esc/l.in +++ b/regress/roff/esc/l.in @@ -1,4 +1,4 @@ -.\" $OpenBSD: l.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $ +.\" $OpenBSD: l.in,v 1.3 2022/06/07 09:51:03 schwarze Exp $ .Dd $Mdocdate$ .Dt ESC-L 1 .Os @@ -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/roff/esc/l.out_ascii b/regress/roff/esc/l.out_ascii index fa052d22..9e34d79b 100644 --- a/regress/roff/esc/l.out_ascii +++ b/regress/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/roff/esc/l.out_lint b/regress/roff/esc/l.out_lint index 00a8eaf2..87df1bdd 100644 --- a/regress/roff/esc/l.out_lint +++ b/regress/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- |