... to avoid
perl ../../gcc-svn/trunk/gcc/../contrib/texi2pod.pl
../../gcc-svn/trunk/gcc/doc/invoke.texi > gcc.pod
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/^\@strong{ <-- HERE (.*)}$/ at
../../gcc-svn/trunk/gcc/../contrib/texi2pod.pl line 319.
2015-08-04 Uros Bizjak <[email protected]>
* texi2pod.pl: Escape braces in regexp involving @strong{...}.
Bootstrapped on Fedora 22 and committed to mainline SVN.
Uros.
Index: texi2pod.pl
===================================================================
--- texi2pod.pl (revision 226581)
+++ texi2pod.pl (working copy)
@@ -316,7 +316,7 @@
@columns = ();
for $column (split (/\s*\@tab\s*/, $1)) {
# @strong{...} is used a @headitem work-alike
- $column =~ s/^\@strong{(.*)}$/$1/;
+ $column =~ s/^\@strong\{(.*)\}$/$1/;
push @columns, $column;
}
$_ = "\n=item ".join (" : ", @columns)."\n";