]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Remove unused reference to @gol macro.
authorLéo Hardt <leom.hardt@inf.ufrgs.br>
Tue, 12 May 2026 22:09:28 +0000 (19:09 -0300)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Tue, 12 May 2026 22:17:35 +0000 (15:17 -0700)
The @gol texinfo macro appears to have been used as a workaround for
achieving line breaks in gccoptlists, and has been removed on commit
43b72ed. The texi2pod rule to ignore it was not cleaned up at the time.

I did not find any references to @gol in the documentation, and building
man pages with and without the deleted rule produced identical files.

contrib/ChangeLog:

* texi2pod.pl: Remove rule to parse the defunct @gol macro.

Signed-off-by: Léo Hardt <leom.hardt@inf.ufrgs.br>
contrib/texi2pod.pl

index 26f19acff4d0f7152e39884d54085b2564efcfef..08681fd52e4db341e121ccd354b8e8d168849b6f 100755 (executable)
@@ -416,14 +416,13 @@ sub postprocess
     # Cross references are thrown away, as are @noindent and @refill.
     # (@noindent is impossible in .pod, and @refill is unnecessary.)
     # @* is also impossible in .pod; we discard it and any newline that
-    # follows it.  Similarly, our macro @gol must be discarded.
+    # follows it.
 
     s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
     s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
     s/;\s+\@pxref\{(?:[^\}]*)\}//g;
     s/\@noindent\s*//g;
     s/\@refill//g;
-    s/\@gol//g;
     s/\@\*\s*\n?//g;
 
     # Anchors are thrown away