Namelist IOSTAT behaviour

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Sun Jun 12 02:33:00 GMT 2005


Paul Thomas wrote:
>>I only attempted to understand the "USE, ONLY" construct.
>>There is a struct gfc_use_rename that is used in gfc_match_use()
>>to build a list of symbols as they are read.   This is the
>>root of the problem with "USE, only : a => z, b => z".  By the
>>time "b => z" is parsed, z has already been renamed to a and
>>so it no longer exists.  I think you want to be around line 504
>>in module.c.
> 
> 
> OK. I was looking around there but obviously did not understand what it is
> doing.  I'll have to build the namelist for build_dt, won't I?

I mostly understood the module code about a year ago.  I'll try to understand
what needs to be done and I'll get back at you tomorrow.

- Tobi



More information about the Fortran mailing list