This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fortran-Experiments]: patch


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]