From 0dd06be9db9e26a47471bfe2160a181631d8453f Mon Sep 17 00:00:00 2001 From: jsm28 Date: Mon, 15 Jan 2001 23:32:25 +0000 Subject: contrib: * texi2pod.pl: Fix regular expression for @r to avoid exponential recursion. From Russ Allbery . Remove perl version check. gcc: * configure.in, configure: Revert previous patch requiring perl 5.6.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39053 138bc75d-0d04-0410-961f-82ee72b054a4 --- contrib/texi2pod.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'contrib/texi2pod.pl') diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl index cb8ff466f19..964c033df5e 100755 --- a/contrib/texi2pod.pl +++ b/contrib/texi2pod.pl @@ -4,8 +4,6 @@ # markup to Perl POD format. It's intended to be used to extract # something suitable for a manpage from a Texinfo document. -use v5.6.0; - $output = 0; $skipping = 0; %sects = (); @@ -262,7 +260,7 @@ sub postprocess s/\@(?:dmn|math)\{([^\}]*)\}/$1/g; # Handle @r inside bold. - 1 while s/B<((?:[^<>]*|I<[^<>*]*>)*)R<([^>]*)>/B<$1>${2}B]|I<[^<>]*>)*)R<([^>]*)>/B<$1>${2}B