diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-06-08 13:23:57 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-06-08 13:23:57 +0000 |
commit | 8b67872465026c8a36f46c94ab7c3c9cf281ba79 (patch) | |
tree | 23a341c363e8430f41e73eaa3f7b2faed547674a /regress/roff/esc/l.out_lint | |
parent | a20dce04f17b9130249adc2db887746a87808270 (diff) | |
download | mandoc-8b67872465026c8a36f46c94ab7c3c9cf281ba79.tar.gz |
Surprisingly, every escape sequence can also be used as an argument
delimiter for an outer escape sequence, in which case the delimiting
escape sequence retains its syntax but usually ignores its argument
and loses its inherent effect. Add rudimentary support for this
syntax quirk in order to improve parsing compatibility with groff.
Diffstat (limited to 'regress/roff/esc/l.out_lint')
-rw-r--r-- | regress/roff/esc/l.out_lint | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/regress/roff/esc/l.out_lint b/regress/roff/esc/l.out_lint index 87df1bdd..0fac0eb7 100644 --- a/regress/roff/esc/l.out_lint +++ b/regress/roff/esc/l.out_lint @@ -1 +1,30 @@ -mandoc: l.in:23:21: ERROR: invalid escape argument delimiter: \l- +mandoc: l.in:23:17: ERROR: invalid escape argument delimiter: \l- +mandoc: l.in:25:20: UNSUPP: unsupported escape sequence: \! +mandoc: l.in:25:23: UNSUPP: unsupported escape sequence: \! +mandoc: l.in:27:20: UNSUPP: unsupported escape sequence: \r +mandoc: l.in:27:18: ERROR: invalid escape argument delimiter: \l\r +mandoc: l.in:35:14: ERROR: invalid escape argument delimiter: \l\, +mandoc: l.in:39:14: ERROR: invalid escape argument delimiter: \l\^ +mandoc: l.in:41:14: ERROR: invalid escape argument delimiter: \l\a +mandoc: l.in:43:14: ERROR: invalid escape argument delimiter: \l\d +mandoc: l.in:45:14: ERROR: invalid escape argument delimiter: \l\t +mandoc: l.in:47:14: ERROR: invalid escape argument delimiter: \l\u +mandoc: l.in:51:14: ERROR: invalid escape argument delimiter: \l\| +mandoc: l.in:55:14: ERROR: invalid escape argument delimiter: \l\. +mandoc: l.in:59:16: WARNING: undefined escape, printing literally: \G +mandoc: l.in:61:15: ERROR: invalid escape argument delimiter: \l\ +mandoc: l.in:67:14: ERROR: invalid escape argument delimiter: \l\0 +mandoc: l.in:77:14: ERROR: invalid escape argument delimiter: \l\~ +mandoc: l.in:89:21: ERROR: invalid escape argument delimiter: \l1 +mandoc: l.in:91:14: ERROR: invalid escape argument delimiter: \l\O1 +mandoc: l.in:93:14: ERROR: invalid escape argument delimiter: \l\Y[mystr] +mandoc: l.in:99:14: ERROR: invalid escape argument delimiter: \l\D't 1' +mandoc: l.in:101:14: ERROR: invalid escape argument delimiter: \l\L'3' +mandoc: l.in:103:14: ERROR: invalid escape argument delimiter: \l\X'foo' +mandoc: l.in:105:14: ERROR: invalid escape argument delimiter: \l\Z'foo' +mandoc: l.in:107:14: ERROR: invalid escape argument delimiter: \l\b'3' +mandoc: l.in:109:14: ERROR: invalid escape argument delimiter: \l\v'3' +mandoc: l.in:111:14: ERROR: invalid escape argument delimiter: \l\x'3' +mandoc: l.in:113:20: ERROR: invalid escape argument delimiter: \l\h'1' +mandoc: l.in:115:18: ERROR: invalid escape argument delimiter: \l\l'4' +mandoc: l.in:117:13: ERROR: invalid escape argument delimiter: \l\o'ab' |