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] complete new unit GNAT.UTF_32


Tested on i686-linux. Committed on mainline.

This patch completes and publicizes the GNAT.UTF_32 package which has
complete facilities for categorizing UTF-32 coded quantities according
to the defined Unicode categories. The compiler itself (scng) is changed
to use these facilities, improving performance, and eliminating redundant
tables in widechar.adb. Finally Make-lang.in is modified to include the
new g-utf_32 unit for gnat and gnatbind.

2005-03-08  Robert Dewar  <dewar@adacore.com>

	* Make-lang.in: Add g-utf_32 unit for gnat and gnatbind

	* impunit.adb: Add GNAT.UTF_32

	* scng.adb: Use gnat.utf_32 instead of widechar for utf_32 stuff

	* widechar.ads, widechar.adb: Remove redundant UTF-32 tables (scng
	now uses GNAT.UTF_32).

	* g-utf_32.ads, g-utf_32.adb: This is a new unit with full
	capabilities for categorizing characters using Unicode categories

Attachment: difs.22.gz
Description: application/gunzip


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