public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* docs: fix Function Attributes table nesting.
@ 2011-02-27 12:24 Ralf Wildenhues
  2011-02-28  6:39 ` Gerald Pfeifer
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Wildenhues @ 2011-02-27 12:24 UTC (permalink / raw)
  To: gcc-patches

The tables are nested here, wrongly, leading to very far indented text.
One cannot use heading markup inside a table, so I'm removing the
mock-markup.  I don't think it suffers much from it.

Tested make info pdf html, OK for trunk?

Thanks,
Ralf

docs: fix Function Attributes table nesting.

gcc/ChangeLog:
2011-02-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* doc/extend.texi (Function Attributes): Avoid deeply (and
	wrongly) nested tables.

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 6751360..eaad089 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3291,8 +3291,6 @@ int core2_func (void) __attribute__ ((__target__ ("arch=core2")));
 int sse3_func (void) __attribute__ ((__target__ ("sse3")));
 @end smallexample
 
-@table @samp
-@item i386 target attributes
 On the 386, the following options are allowed:
 
 @table @samp
@@ -3435,8 +3433,8 @@ Specify which floating point unit to use.  The
 @code{target("fpmath=sse,387")} option must be specified as
 @code{target("fpmath=sse+387")} because the comma would separate
 different options.
+@end table
 
-@item PowerPC target attributes
 On the PowerPC, the following options are allowed:
 
 @table @samp
@@ -3608,8 +3606,6 @@ you do specify the @code{target("cpu=@var{CPU}")} attribute,
 compilation will tune for the @var{CPU} architecture, and not the
 default tuning specified on the command line.
 @end table
-@end table
-@end table
 
 On the 386/x86_64 and PowerPC backends, you can use either multiple
 strings to specify multiple options, or you can separate the option

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: docs: fix Function Attributes table nesting.
  2011-02-27 12:24 docs: fix Function Attributes table nesting Ralf Wildenhues
@ 2011-02-28  6:39 ` Gerald Pfeifer
  0 siblings, 0 replies; 2+ messages in thread
From: Gerald Pfeifer @ 2011-02-28  6:39 UTC (permalink / raw)
  To: Ralf Wildenhues; +Cc: gcc-patches

On Sun, 27 Feb 2011, Ralf Wildenhues wrote:
> The tables are nested here, wrongly, leading to very far indented text. 
> One cannot use heading markup inside a table, so I'm removing the 
> mock-markup.  I don't think it suffers much from it.
> 
> Tested make info pdf html, OK for trunk?

Okay, understanding you visually checked the output.

Gerald

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-27 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-27 12:24 docs: fix Function Attributes table nesting Ralf Wildenhues
2011-02-28  6:39 ` Gerald Pfeifer

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).