[Fortran-Experiments]: patch

Christopher D. Rickett crickett@lanl.gov
Mon Feb 26 19:02:00 GMT 2007


i think that having the name would be useful.  i'm not sure why i didn't 
add it in the first place, but nice catch.  i think i didn't add it simply 
because i had looked at some of the add_* routines that did not use it. 
for consistency, perhaps all of the add_* routines should take a name arg?

Chris

On Mon, 26 Feb 2007, Tobias Burnus wrote:

> Hi again,
>
> talking about patches, what do you think of the following patch, which
> adds the symbol name to gfc_add_is_bind_c. Several of the other
> gfc_add_<attribute> functions have also a name argument.
>
> Tobias
>
> 2007-02-26  Tobias Burnus  <burnus@net-b.de>
>
> 	* fortran/symbol.c (gfc_add_is_bind_c): Add symbol name as argument.
> 	(gfc_copy_attr): Update gfc_add_is_bind_c call.
> 	* fortran/decl.c (match_attr_spec,set_verify_bind_c_sym,
> 	gfc_match_suffix,gfc_match_subroutine,gfc_get_type_attr_spec): Ditto.
> 	* fortran/gfortran.h: Update gfc_add_is_bind_c prototype.
>
>



More information about the Fortran mailing list