From 43b72ede11d78b29dff7c55f3f5170e8d135979f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Wed, 25 Jan 2023 23:33:03 +0100 Subject: doc: Remove the @gol macro/alias The @gol macro appears to have existed as a workaround for a bug in old versions of makeinfo and/or texinfo.tex, where they would, in some types of output, fail to emit line breaks in @gccoptlists. After updating texinfo.tex, I noticed that this behavior appears to no longer be exhibited, instead, both acted correctly and inserted newlines. The (groff) manual output also appears unaffected. gcc/ChangeLog: * doc/implement-c.texi: Remove usage of @gol. * doc/invoke.texi: Ditto. * doc/sourcebuild.texi: Ditto. * doc/include/gcc-common.texi: Remove @gol. In new Makeinfo and texinfo.tex versions, the bug it was working around appears to be gone. gcc/fortran/ChangeLog: * invoke.texi: Remove usages of @gol. * intrinsic.texi: Ditto. --- gcc/doc/include/gcc-common.texi | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gcc/doc/include/gcc-common.texi') diff --git a/gcc/doc/include/gcc-common.texi b/gcc/doc/include/gcc-common.texi index b64cc96..02e879e 100644 --- a/gcc/doc/include/gcc-common.texi +++ b/gcc/doc/include/gcc-common.texi @@ -20,16 +20,6 @@ \body\ @end smallexample @end macro -@c Makeinfo handles the above macro OK, TeX needs manual line breaks; -@c they get lost at some point in handling the macro. But if @macro is -@c used here rather than @alias, it produces double line breaks. -@iftex -@alias gol = * -@end iftex -@ifnottex -@macro gol -@end macro -@end ifnottex @c For FSF printing, define FSFPRINT. Also update the ISBN and last @c printing date for the manual being printed. -- cgit v1.1