From 8b67872465026c8a36f46c94ab7c3c9cf281ba79 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 8 Jun 2022 13:23:57 +0000 Subject: 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. --- regress/roff/esc/A1.out_lint | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 regress/roff/esc/A1.out_lint (limited to 'regress/roff/esc/A1.out_lint') diff --git a/regress/roff/esc/A1.out_lint b/regress/roff/esc/A1.out_lint new file mode 100644 index 00000000..8f7e76d4 --- /dev/null +++ b/regress/roff/esc/A1.out_lint @@ -0,0 +1,5 @@ +mandoc: A1.in:17:25: WARNING: undefined escape, printing literally: \G +mandoc: A1.in:19:20: UNSUPP: unsupported escape sequence: \r +mandoc: A1.in:19:26: UNSUPP: unsupported escape sequence: \r +mandoc: A1.in:25:16: WARNING: undefined escape, printing literally: \G +mandoc: A1.in:53:15: ERROR: incomplete escape sequence: \A'word -- cgit