texi2pod.pl: Escape braces in regexp involving @strong{...}.

* texi2pod.pl: Escape braces in regexp involving @strong{...}.

From-SVN: r226585
This commit is contained in:
Uros Bizjak 2015-08-04 18:15:45 +02:00
parent 3da33383b4
commit 4b5ed6cf57
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2015-08-04 Uros Bizjak <ubizjak@gmail.com>
* texi2pod.pl: Escape braces in regexp involving @strong{...}.
2015-07-15 Tom de Vries <tom@codesourcery.com>
* check_GNU_style.sh (cat_with_prefix): Fix quoting.

View File

@ -316,7 +316,7 @@ while(<$inf>) {
@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";