aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-02-22 15:16:59 +0000
committerTom de Vries <vries@gcc.gnu.org>2015-02-22 15:16:59 +0000
commit6d38a29541a78850208e88b1b79291e5e8192fd9 (patch)
treefe8fd80c314e9e76e459b4c7cf0d15175a467803 /gcc
parent1d5f1ff217a2621bbfa4a56c658262145e000474 (diff)
downloadgcc-6d38a29541a78850208e88b1b79291e5e8192fd9.zip
gcc-6d38a29541a78850208e88b1b79291e5e8192fd9.tar.gz
gcc-6d38a29541a78850208e88b1b79291e5e8192fd9.tar.bz2
Fix warning in 'Loop Statements' in gnat-style.texi
2015-02-22 Tom de Vries <tom@codesourcery.com> PR ada/65100 * gnat-style.texi (@subsection Loop Statements): Replace @noindent by @item, and fix warning '@itemize has text but no @item'. From-SVN: r220895
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog6
-rw-r--r--gcc/ada/gnat-style.texi2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index cc49e4c..d2a248a 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-22 Tom de Vries <tom@codesourcery.com>
+
+ PR ada/65100
+ * gnat-style.texi (@subsection Loop Statements): Replace @noindent by
+ @item, and fix warning '@itemize has text but no @item'.
+
2015-02-20 Ed Schonberg <schonberg@adacore.com>
* sem_prag.adb (Analyze_Pragma, case Obsolescent): Pragma
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.