aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-09-06 11:38:28 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-09-06 09:38:28 +0000
commit973159f219b154e79d10f95117932caf4b398819 (patch)
tree44efc282d1462489c345b985490e58c1fbae492b /gcc/doc
parent67f6e64994b49ec330708e1655065dbd9741e1d6 (diff)
downloadgcc-973159f219b154e79d10f95117932caf4b398819.zip
gcc-973159f219b154e79d10f95117932caf4b398819.tar.gz
gcc-973159f219b154e79d10f95117932caf4b398819.tar.bz2
Improve documentation of for statement.
2019-09-06 Martin Liska <mliska@suse.cz> * doc/match-and-simplify.texi: Separate tuples with ;. From-SVN: r275452
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/match-and-simplify.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/match-and-simplify.texi b/gcc/doc/match-and-simplify.texi
index 760b703..943ff1a 100644
--- a/gcc/doc/match-and-simplify.texi
+++ b/gcc/doc/match-and-simplify.texi
@@ -293,8 +293,8 @@ nested and a @code{for} can have multiple operators to iterate.
@end smallexample
In this example the pattern will be repeated four times with
-@code{opa, opb, opc} being @code{plus, minus, plus},
-@code{plus, minus, minus}, @code{minus, plus, plus},
+@code{opa, opb, opc} being @code{plus, minus, plus};
+@code{plus, minus, minus}; @code{minus, plus, plus};
@code{minus, plus, minus}.
To avoid repeating operator lists in @code{for} you can name