* doc patch for gengtype's tag
@ 2010-07-09 6:23 Basile Starynkevitch
2010-07-09 8:57 ` Laurynas Biveinis
0 siblings, 1 reply; 2+ messages in thread
From: Basile Starynkevitch @ 2010-07-09 6:23 UTC (permalink / raw)
To: gcc-patches
Hello All,
The following documentation patch to trunk rev 161983 clarifies the
issue of "gengtype & many GTY tags for same union component?"
http://gcc.gnu.org/ml/gcc/2010-07/msg00118.html &
http://gcc.gnu.org/ml/gcc/2010-07/msg00061.html
############### patch::: ###############
Index: gcc/doc/gty.texi
===================================================================
--- gcc/doc/gty.texi (revision 161983)
+++ gcc/doc/gty.texi (working copy)
@@ -183,6 +183,7 @@ The value of the expression given by @code{desc} i
each @code{tag} value, each of which should be different. If no
@code{tag} is matched, the field marked with @code{default} is used if
there is one, otherwise no field in the union will be marked.
+A union field can have at most one @code{tag}.
In the @code{desc} option, the ``current structure'' is the union that
it discriminates. Use @code{%1} to mean the structure containing it.
############## gcc/ChangeLog entry ################
2010-07-09 Basile Starynkevitch <basile@starynkevitch.net>
* doc/gty.texi (The inside of a GTY): Improved tag documentation.
##############
Ok for trunk?
Cheers
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: doc patch for gengtype's tag
2010-07-09 6:23 doc patch for gengtype's tag Basile Starynkevitch
@ 2010-07-09 8:57 ` Laurynas Biveinis
0 siblings, 0 replies; 2+ messages in thread
From: Laurynas Biveinis @ 2010-07-09 8:57 UTC (permalink / raw)
To: basile; +Cc: gcc-patches
Hi,
2010/7/9 Basile Starynkevitch <basile@starynkevitch.net>:
> there is one, otherwise no field in the union will be marked.
> +A union field can have at most one @code{tag}.
Join with a previous line.
I cannot approve this patch, but it looks good to me with that change.
--
Laurynas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-09 8:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-09 6:23 doc patch for gengtype's tag Basile Starynkevitch
2010-07-09 8:57 ` Laurynas Biveinis
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).