summaryrefslogblamecommitdiffstats
path: root/source/ap/texinfo/texinfo.fix.unescaped.left.brace.diff
blob: 84dacb3b3b5613e3653a3a3bcc9d4490354c00f3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                                
--- ./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->__(