Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 2/2] etc/texi2pod.pl: C<>'s can be nested as well
@ 2019-09-16 22:06 Carl Bordum Hansen
  2019-09-17  1:40 ` Simon Marchi
  0 siblings, 1 reply; 2+ messages in thread
From: Carl Bordum Hansen @ 2019-09-16 22:06 UTC (permalink / raw)
  To: gdb-patches

---
 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/&LT;/</g;
     s/&GT;/>/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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] etc/texi2pod.pl: C<>'s can be nested as well
  2019-09-16 22:06 [PATCH 2/2] etc/texi2pod.pl: C<>'s can be nested as well Carl Bordum Hansen
@ 2019-09-17  1:40 ` Simon Marchi
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Marchi @ 2019-09-17  1:40 UTC (permalink / raw)
  To: Carl Bordum Hansen, gdb-patches

On 2019-09-16 6:06 p.m., Carl Bordum Hansen wrote:
> ---
>  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/&LT;/</g;
>      s/&GT;/>/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
> 

Hi Carl,

Can you explain why this change is needed?  Is there a file that was not
generated properly?

Simon


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-17  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-16 22:06 [PATCH 2/2] etc/texi2pod.pl: C<>'s can be nested as well Carl Bordum Hansen
2019-09-17  1:40 ` Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox