source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: mandoc: Test the handling of some additional one-character escape
Date: Fri, 20 May 2022 07:32:59 -0500 (EST)	[thread overview]
Message-ID: <33653494deb75f0c@mandoc.bsd.lv> (raw)

Log Message:
-----------
Test the handling of some additional one-character escape sequences
that take no argument and are ignored: \% \& \^ \a \d \t \u \{ \| \}
No change to parsing or formatting needed.

Modified Files:
--------------
    mandoc/regress/roff/esc:
        ignore.in
        ignore.out_ascii
        ignore.out_lint

Revision Data
-------------
Index: ignore.out_lint
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/roff/esc/ignore.out_lint,v
retrieving revision 1.7
retrieving revision 1.8
diff -Lregress/roff/esc/ignore.out_lint -Lregress/roff/esc/ignore.out_lint -u -p -r1.7 -r1.8
--- regress/roff/esc/ignore.out_lint
+++ regress/roff/esc/ignore.out_lint
@@ -1,4 +1,14 @@
-mandoc: ignore.in:7:26: WARNING: invalid escape sequence: \[)]
-mandoc: ignore.in:8:12: WARNING: invalid escape sequence: \[,]
-mandoc: ignore.in:9:12: WARNING: invalid escape sequence: \[/]
-mandoc: ignore.in:13:56: WARNING: invalid escape sequence: \s-
+mandoc: ignore.in:7:36: WARNING: invalid escape sequence: \[%]
+mandoc: ignore.in:8:35: WARNING: invalid escape sequence: \[&]
+mandoc: ignore.in:9:51: WARNING: invalid escape sequence: \[)]
+mandoc: ignore.in:10:37: WARNING: invalid escape sequence: \[,]
+mandoc: ignore.in:11:38: WARNING: invalid escape sequence: \[/]
+mandoc: ignore.in:12:28: WARNING: invalid escape sequence: \[^]
+mandoc: ignore.in:13:17: WARNING: invalid escape sequence: \[a]
+mandoc: ignore.in:14:25: WARNING: invalid escape sequence: \[d]
+mandoc: ignore.in:15:25: WARNING: invalid escape sequence: \[t]
+mandoc: ignore.in:16:33: WARNING: invalid escape sequence: \[u]
+mandoc: ignore.in:17:20: WARNING: invalid escape sequence: \[{]
+mandoc: ignore.in:18:25: WARNING: invalid escape sequence: \[|]
+mandoc: ignore.in:19:20: WARNING: invalid escape sequence: \[}]
+mandoc: ignore.in:23:56: WARNING: invalid escape sequence: \s-
Index: ignore.in
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/roff/esc/ignore.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/roff/esc/ignore.in -Lregress/roff/esc/ignore.in -u -p -r1.3 -r1.4
--- regress/roff/esc/ignore.in
+++ regress/roff/esc/ignore.in
@@ -1,12 +1,22 @@
-.\" $OpenBSD: ignore.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $
-.TH ESC-IGNORE 1 "December 15, 2018"
+.\" $OpenBSD: ignore.in,v 1.5 2022/05/20 12:30:33 schwarze Exp $
+.TH ESC-IGNORE 1 "May 20, 2022"
 .SH NAME
 esc-ignore \- ignored roff escape sequences
 .SH DESCRIPTION
 .nf
-closing parenthesis: a\)b\[)]c
-comma: a\,b\[,]c
-slash: a\/b\[/]c
+percent (hyphenation allowed): a\%b\[%]c
+ampersand (zero width space): a\&b\[&]c
+closing parenthesis (ZWS transparent to EOS): a\)b\[)]c
+comma (left italic correction): a\,b\[,]c
+slash (right italic correction): a\/b\[/]c
+caret (1/12 em space): a\^b\[^]c
+a (leader): a\ab\[a]c
+d (half line feed): a\db\[d]c
+t (horizontal tab): a\tb\[t]c
+u (half reverse line feed): a\ub\[u]c
+opening brace: a\{b\[{]c
+bar (1/6 em space): a\|b\[|]c
+closing brace: a\}b\[}]c
 multiform: a\kxb\k(xyc\k[xyz]d
 quoted: a\R'myreg 0'b\R'myreg \A'y'0'c
 sizes: a\s0b\s(12c\s[123]d\s'123'e\s'1\w'xy'2'f
Index: ignore.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/roff/esc/ignore.out_ascii,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/roff/esc/ignore.out_ascii -Lregress/roff/esc/ignore.out_ascii -u -p -r1.4 -r1.5
--- regress/roff/esc/ignore.out_ascii
+++ regress/roff/esc/ignore.out_ascii
@@ -4,12 +4,22 @@ N\bNA\bAM\bME\bE
        esc-ignore - ignored roff escape sequences
 
 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
-       closing parenthesis: abc
-       comma: abc
-       slash: abc
+       percent (hyphenation allowed): abc
+       ampersand (zero width space): abc
+       closing parenthesis (ZWS transparent to EOS): abc
+       comma (left italic correction): abc
+       slash (right italic correction): abc
+       caret (1/12 em space): abc
+       a (leader): abc
+       d (half line feed): abc
+       t (horizontal tab): abc
+       u (half reverse line feed): abc
+       opening brace: abc
+       bar (1/6 em space): abc
+       closing brace: abc
        multiform: abcd
        quoted: abc
        sizes: abcdef
        signed sizes: abcdef
 
-OpenBSD                        December 15, 2018                 ESC-IGNORE(1)
+OpenBSD                          May 20, 2022                    ESC-IGNORE(1)
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv


                 reply	other threads:[~2022-05-20 12:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33653494deb75f0c@mandoc.bsd.lv \
    --to=schwarze@mandoc.bsd.lv \
    --cc=source@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).