https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65100

            Bug ID: 65100
           Summary: ada/gnat-style.texi:568: warning: @itemize has text
                    but no @item
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org

src/gcc/ada/gnat-style.texi:568: warning: @itemize has text but no @item

There's no @item in @itemize for the 'Loop Statements' bit (hence no bullet
 in the 'Loop Statements' bit in
https://gcc.gnu.org/onlinedocs/gnat-style/Statements.html#Statements ).

This patch fixes the warning, and adds a bullet at the start, just as in 'Block
Statements':
...
diff --git a/gcc/ada/gnat-style.texi b/gcc/ada/gnat-style.texi
index df2d491..1fa7688 100644
--- a/gcc/ada/gnat-style.texi
+++ b/gcc/ada/gnat-style.texi
@@ -566,7 +566,7 @@ can be saved by aligning the @code{when} clauses with the
opening @code{case}.
 @cindex Loop statements

 @itemize @bullet
-@noindent
+@item
 When possible, have @code{for} or @code{while} on one line with the
 condition and the @code{loop} keyword.

...

Reply via email to