From 973159f219b154e79d10f95117932caf4b398819 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Fri, 6 Sep 2019 11:38:28 +0200 Subject: [PATCH] Improve documentation of for statement. 2019-09-06 Martin Liska * doc/match-and-simplify.texi: Separate tuples with ;. From-SVN: r275452 --- gcc/ChangeLog | 4 ++++ gcc/doc/match-and-simplify.texi | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 233072eeb58..f4766bd7ac8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-09-06 Martin Liska + + * doc/match-and-simplify.texi: Separate tuples with ;. + 2019-09-06 Martin Liska PR c++/91125 diff --git a/gcc/doc/match-and-simplify.texi b/gcc/doc/match-and-simplify.texi index 760b7039d88..943ff1aac85 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 -- 2.30.2