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]>
---
 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 f213e15bf48..43036dd2630 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
-- 
2.55.0

Reply via email to