Namelist IOSTAT behaviour

Paul Thomas Paul.Thomas@jet.efda.org
Sat Jun 11 17:45:00 GMT 2005


> 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?

Paul T



More information about the Fortran mailing list