Procházet zdrojové kódy

doc/texi2pod: fix an unescaped left brace

This silences some deprecation warnings

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer před 10 roky
rodič
revize
e43ea1cbb2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      doc/texi2pod.pl

+ 1 - 1
doc/texi2pod.pl

@@ -384,7 +384,7 @@ sub postprocess
     # @* is also impossible in .pod; we discard it and any newline that
     # @* is also impossible in .pod; we discard it and any newline that
     # follows it.  Similarly, our macro @gol must be discarded.
     # follows it.  Similarly, our macro @gol must be discarded.
 
 
-    s/\@anchor{(?:[^\}]*)\}//g;
+    s/\@anchor\{(?:[^\}]*)\}//g;
     s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
     s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
     s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
     s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
     s/;\s+\@pxref\{(?:[^\}]*)\}//g;
     s/;\s+\@pxref\{(?:[^\}]*)\}//g;