public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2187] docs: don't split @smallexample in multiple @groups
@ 2021-07-09 7:50 Sergei Trofimovich
0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich @ 2021-07-09 7:50 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:840fabd8e0cd002c744adf219c64a672b0fa83b3
commit r12-2187-g840fabd8e0cd002c744adf219c64a672b0fa83b3
Author: Sergei Trofimovich <siarheit@google.com>
Date: Fri Jul 9 08:26:15 2021 +0100
docs: don't split @smallexample in multiple @groups
Noticed multiple groups split in HTML documentation where example
was written in two columns:
""
"
(define_expand "addsi3" {
[(match_operand:SI 0 "register_operand" "") handle_add (...
(match_operand:SI 1 "register_operand" "") DONE;
(match_operand:SI 2 "register_operand" "")] }")
The change uses single @group/@endgroup to prevent such break.
gcc/ChangeLog:
* doc/md.texi: Don't split @smallexample in multiple @groups.
Diff:
---
gcc/doc/md.texi | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 7a4d24ead90..0fe70b7ea40 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -8455,8 +8455,6 @@ list of operands, such as this example:
[(match_operand:SI 0 "register_operand" "")
(match_operand:SI 1 "register_operand" "")
(match_operand:SI 2 "register_operand" "")]
-@end group
-@group
""
"
@{
@@ -8473,17 +8471,10 @@ Here is an example, the definition of left-shift for the SPUR chip:
(define_expand "ashlsi3"
[(set (match_operand:SI 0 "register_operand" "")
(ashift:SI
-@end group
-@group
(match_operand:SI 1 "register_operand" "")
(match_operand:SI 2 "nonmemory_operand" "")))]
""
"
-@end group
-@end smallexample
-
-@smallexample
-@group
@{
if (GET_CODE (operands[2]) != CONST_INT
|| (unsigned) INTVAL (operands[2]) > 3)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-09 7:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09 7:50 [gcc r12-2187] docs: don't split @smallexample in multiple @groups Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).