https://gcc.gnu.org/g:8652c32cb7125af425e258478562bdf85d729bb1

commit r17-4809-g8652c32cb7125af425e258478562bdf85d729bb1
Author: Pietro Monteiro <[email protected]>
Date:   Tue Sep 29 11:33:50 2026 -0400

    algol68: Fix comments documentation
    
    Correct the description of nestable comments in UPPER stropping to
    refer to NOTE ... ETON instead of the incorrect bold words.
    
    The example using NOTE ... ETON has a stray character after the
    ETON, making the code invalid.  Remove that character.
    
    gcc/algol68/ChangeLog:
    
            * ga68.texi (Comments and pragmats): Correct description of
            nestable comments on UPPER stropping and fix example code.
    
    Signed-off-by: Pietro Monteiro <[email protected]>

Diff:
---
 gcc/algol68/ga68.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/algol68/ga68.texi b/gcc/algol68/ga68.texi
index f213e15bf481..43036dd26305 100644
--- a/gcc/algol68/ga68.texi
+++ b/gcc/algol68/ga68.texi
@@ -1365,11 +1365,11 @@ foo +:= 1; # and so is this.  #
 Unless @option{-std=algol68} is specified in the command line, two
 styles of nestable comments can be also used with UPPER stropping: the
 already explained @code{@{ ... @}} and a ``bold'' style that uses
-@code{@B{code} ... @B{edoc}}.  For example:
+@code{@B{note} ... @B{eton}}.  For example:
 
 @example
 foo := 10; @{ this is a nestable comment in brief style.  @}
-foo +:= 1; @B{note} this is a nestable comment in bold style.  @B{eton}.
+foo +:= 1; @B{note} this is a nestable comment in bold style.  @B{eton}
 @end example
 
 @example

Reply via email to