diff options
author | Eric Blake <ebb9@byu.net> | 2002-03-09 21:20:04 +0000 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2002-03-09 21:20:04 +0000 |
commit | 4c2bbe58c11258a1176bfcaf7dd6aa242063b3d1 (patch) | |
tree | 869c09712d0e100f09ffa6b846ca2a5fe24313cc /scripts | |
parent | c53f7f1c8c571f01006931934930f1780ec73fae (diff) | |
download | classpath-4c2bbe58c11258a1176bfcaf7dd6aa242063b3d1.tar.gz |
2002-03-09 Eric Blake <ebb9@email.byu.edu>
* scripts/unicode-muncher.pl: Bump the version, minor tweaks.
* gnu/java/lang/CharData.java: Regenerate.
* java/lang/Character.java: Remerge with gcj.
* java/lang/Integer.java (toString, toUnsignedString): Use package
String constructor.
* java/lang/Long.java (toString, toUnsignedString): Ditto.
* java/lang/String.java: Fix some off-by-one errors and typos.
(offset): Implement, to match gcj.
(String(char[], int, int, boolean)): Change signature of package
constructor to be more flexible, and match gcj.
* java/lang/StringBuffer.java (substring, regionMatches): Use
offset improvements in String.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/unicode-muncher.pl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/unicode-muncher.pl b/scripts/unicode-muncher.pl index 74184c878..e3a0fd019 100755 --- a/scripts/unicode-muncher.pl +++ b/scripts/unicode-muncher.pl @@ -85,7 +85,7 @@ my $range = 0; die "Usage: $0 <UnicodeData.txt> <SpecialCasing.txt> <CharData.java>" unless @ARGV == 3; $| = 1; -print "GNU Classpath Unicode Attribute Database Generator 2.0\n"; +print "GNU Classpath Unicode Attribute Database Generator 2.1\n"; print "Copyright (C) 1998, 2002 Free Software Foundation, Inc.\n"; # Stage 0: Parse the special casing file @@ -398,6 +398,11 @@ package gnu.java.lang; public interface CharData { /** + * The Unicode definition file that was parsed to build this database. + */ + String SOURCE = \"$ARGV[0]\"; + + /** * The character shift amount to look up the block offset. In other words, * <code>(char) (BLOCKS.value[ch >> SHIFT] + ch)</code> is the index where * <code>ch</code> is described in <code>DATA</code>. @@ -552,7 +557,7 @@ EOF ; /** - * This is the listing of titlecase special cases (all other character + * This is the listing of titlecase special cases (all other characters * can use <code>UPPER</code> to determine their titlecase). The listing * is a sorted sequence of character pairs; converting the first character * of the pair to titlecase produces the second character. |