This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran, Doc] Document type-bound operators
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Daniel Kraft <d at domob dot eu>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 30 Aug 2009 09:57:47 +0200
- Subject: Re: [Patch, Fortran, Doc] Document type-bound operators
- References: <4A9795B0.6000102@domob.eu>
Daniel,
This is OK for trunk.
I have tested it quite thoroughly with the code that I am working on.
So much so, I got a bit carried away and did not review the patch in
the 24 hours that I promised.
Thanks for the work that you have put into this. In actual fact, as
Steven Bosscher says at the top of dump-parse-tree.c, "As a nice
side-effect, this file can act as documentation of the gfc_code and
gfc_expr structures and all their friends and relatives." I am
finding your patch invaluable to figure out out to implement 'vindex'
for CLASS types.
Cheers
Paul
2009-08-28 Daniel Kraft <d@domob.eu>
PR fortran/37425
* dump-parse-tree.c (show_typebound_proc): Renamed from `show_typebound'
and accept gfc_typebound_proc and name instead of the symtree, needed
for intrinsic operator output.
(show_typebound_symtree): New method calling `show_typebound_proc'.
(show_f2k_derived): Output type-bound operators also.
(show_symbol): Moved output of `Procedure bindings:' label to
`show_f2k_derived'.
* gfortran.texi (Fortran 2003 status): Mention support of
array-constructors with explicit type specification, type-bound
procedures/operators, type extension, ABSTRACT types and DEFERRED.
Link to Fortran 2003 wiki page.
(Fortran 2008 status): Fix typo. Link to Fortran 2008 wiki page.
* gfc-internals.texi (Type-bound Procedures): Document the new
members/attributes of gfc_expr.value.compcall used for type-bound
operators.
(Type-bound Operators): New section documenting their internals.