mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-05 21:45:37 +00:00
Minor changes
X-SVN-Rev: 5676
This commit is contained in:
parent
03fdacc9a5
commit
5ff4979a62
3 changed files with 14 additions and 9 deletions
|
@ -5,8 +5,8 @@
|
|||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/unicodetools/com/ibm/text/UCD/ConvertUCD.java,v $
|
||||
* $Date: 2001/08/31 00:30:17 $
|
||||
* $Revision: 1.2 $
|
||||
* $Date: 2001/09/01 01:11:13 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -243,6 +243,7 @@ public final class ConvertUCD implements UCD_Types {
|
|||
*/
|
||||
|
||||
static void toJava() throws Exception {
|
||||
System.out.println("Building " + version);
|
||||
// Blocks is special
|
||||
// Unihan is special
|
||||
// collect all the other .txt files in the directory
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/unicodetools/com/ibm/text/UCD/DerivedProperty.java,v $
|
||||
* $Date: 2001/09/01 00:06:48 $
|
||||
* $Revision: 1.1 $
|
||||
* $Date: 2001/09/01 01:11:13 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -423,7 +423,9 @@ of characters, the first of which has a non-zero combining class.
|
|||
{
|
||||
name = "GraphemeExtend";
|
||||
header = header = "# Derived Property: " + name
|
||||
+ "\r\n# Generated from: Me + Mn + Mc + Other_GraphemeExtend - GraphemeLink";
|
||||
+ "\r\n# Generated from: Me + Mn + Mc + Other_GraphemeExtend - GraphemeLink"
|
||||
+ "\r\n# Used in the definition of GraphemeCluster: "
|
||||
+ "\r\n# GraphemeCluster ::= GraphameBase? ( GraphemeExtend | GraphemeLink Join_Control? GraphemeBase? )*";
|
||||
}
|
||||
boolean hasProperty(int cp) {
|
||||
if (ucdData.getBinaryProperty(cp, GraphemeExtend)) return false;
|
||||
|
@ -438,7 +440,9 @@ of characters, the first of which has a non-zero combining class.
|
|||
{
|
||||
name = "GraphemeBase";
|
||||
header = header = "# Derived Property: " + name
|
||||
+ "\r\n# Generated from: [0..10FFFF] - Cc - Cf - Cs - Co - Cn - Zl - Zp - GraphemeLink - GraphemeExtend";
|
||||
+ "\r\n# Generated from: [0..10FFFF] - Cc - Cf - Cs - Co - Cn - Zl - Zp - GraphemeLink - GraphemeExtend"
|
||||
+ "\r\n# Used in the definition of GraphemeCluster: "
|
||||
+ "\r\n# GraphemeCluster ::= GraphameBase? ( GraphemeExtend | GraphemeLink Join_Control? GraphemeBase? )*";
|
||||
}
|
||||
boolean hasProperty(int cp) {
|
||||
byte cat = ucdData.getCategory(cp);
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/unicodetools/com/ibm/text/UCD/GenerateData.java,v $
|
||||
* $Date: 2001/09/01 00:06:15 $
|
||||
* $Revision: 1.3 $
|
||||
* $Date: 2001/09/01 01:11:13 $
|
||||
* $Revision: 1.4 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -199,7 +199,7 @@ public class GenerateData implements UCD_Types {
|
|||
}
|
||||
|
||||
public static void generateDerived (int bitMask, int headerChoice, String fileName) throws IOException {
|
||||
PrintStream output = new PrintStream(new FileOutputStream(GEN_DIR + fileName + ".txt"));
|
||||
PrintStream output = new PrintStream(new FileOutputStream(GEN_DIR + fileName + "dX.txt"));
|
||||
doHeader(fileName, output, headerChoice);
|
||||
for (int i = 0; i < DerivedProperty.LIMIT; ++i) {
|
||||
if ((bitMask & (1<<i)) == 0) continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue