slackware-current/source/ap/texinfo/texinfo.fix.unescaped.left.brace.diff
Patrick J Volkerding 233fc224df Wed Jun 27 19:40:52 UTC 2018
ap/texinfo-6.5-x86_64-5.txz:  Rebuilt.
  Fixed unescaped left brace warning from perl-5.28.0.
l/gdbm-1.16-x86_64-1.txz:  Upgraded.
2018-06-28 09:00:32 +02:00

16 lines
727 B
Diff

--- ./tp/Texinfo/Parser.pm.orig 2017-09-12 13:49:03.000000000 -0500
+++ ./tp/Texinfo/Parser.pm 2018-06-27 13:14:33.982547765 -0500
@@ -5478,11 +5478,11 @@
}
} elsif ($command eq 'clickstyle') {
# REMACRO
- if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*/) {
+ if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)(\{})?\s*/) {
$args = ['@'.$1];
$self->{'clickstyle'} = $1;
$remaining = $line;
- $remaining =~ s/^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*(\@(c|comment)((\@|\s+).*)?)?//;
+ $remaining =~ s/^\s+@([[:alnum:]][[:alnum:]\-]*)(\{})?\s*(\@(c|comment)((\@|\s+).*)?)?//;
$has_comment = 1 if (defined($4));
} else {
$self->line_error (sprintf($self->__(