From: "Carl Bordum Hansen" <carl@bordum.dk>
To: <gdb-patches@sourceware.org>
Subject: [PATCH 2/2] etc/texi2pod.pl: C<>'s can be nested as well
Date: Mon, 16 Sep 2019 22:06:00 -0000 [thread overview]
Message-ID: <BX1RO04GX4C8.1F9RUUJRL3BIC@carl-T440p> (raw)
---
etc/texi2pod.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
index 34ba7efd0f..167cc71ba9 100644
--- a/etc/texi2pod.pl
+++ b/etc/texi2pod.pl
@@ -416,9 +416,9 @@ sub postprocess
s/</</g;
s/>/>/g;
- # Now un-nest all B<>, I<>, R<>. Theoretically we could have
+ # Now un-nest all B<>, I<>, R<>, C<>. Theoretically we could have
# indefinitely deep nesting; in practice, one level suffices.
- 1 while s/([BIR])<([^<>]*)([BIR])<([^<>]*)>/$1<$2>$3<$4>$1</g;
+ 1 while s/([BIRC])<([^<>]*)([BIRC])<([^<>]*)>/$1<$2>$3<$4>$1</g;
# Replace R<...> with bare ...; eliminate empty markup, B<>;
# shift white space at the ends of [BI]<...> expressions outside
--
2.17.1
next reply other threads:[~2019-09-16 22:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-16 22:06 Carl Bordum Hansen [this message]
2019-09-17 1:40 ` Simon Marchi
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=BX1RO04GX4C8.1F9RUUJRL3BIC@carl-T440p \
--to=carl@bordum.dk \
--cc=gdb-patches@sourceware.org \
/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