This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[Ada] clean up in use of Get_Unit_Name_String


Tested on x86-linux, committed on mainline.

The correct, complete implementation is in uname. Rather than using the
implementation from uname in bindgen, we just use the lower-level representation
of unit names produced by Get_Name_String. The only visible consequence of this
change is the way unit names are listed in comments in the binder-generated
file to indicate the computed elaboration order. The reason why the uname
version is not used in bindgen is because it would add a significant amount
of code to the closure of gnatbind.

2004-11-18  Thomas Quinot  <quinot@adacore.com>

	* butil.ads, butil.adb, bindgen.adb (Get_Unit_Name_String): Remove
	incomplete duplicate implementation of this subprogram from butil.

Attachment: difs.4
Description: Text document


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