[PATCH, Fortran] preparing procedure pointers

Janus Weil jaydub66@googlemail.com
Tue Apr 22 21:13:00 GMT 2008


2008/4/15, FX Coudert <fxcoudert@gmail.com>:
> > Could anyone please confirm that this is an error?
>
>  Indeed it is; the comment makes sense if you replace "The interface member"
> by "The generic member". I suppose the error arose from the fact that member
> generic is of type gfc_interface.

Are you sure about this? My guess would have been that "The interface
member" should be replaced by "The formal member":

  /* The interface member points to the formal argument list if the
     symbol is a function or subroutine name.  If the symbol is a
     generic name, the generic member points to the list of
     interfaces.  */

Because actually "formal" is the one which points to the formal
argument list, right? And then already the second sentence refers to
"generic".
Cheers,
Janus



More information about the Fortran mailing list