[FriBidi-commit] fribidi/gen.tab gen-bidi-type-tab.c, 1.7,
1.8 gen-mirroring-tab.c, 1.5, 1.6 gen-unicode-version.c, 1.3, 1.4
Behdad Esfahbod
behdad at pdx.freedesktop.org
Sun May 23 23:45:44 PDT 2004
Update of /cvs/fribidi/fribidi/gen.tab
In directory pdx:/tmp/cvs-serv1938/gen.tab
Modified Files:
gen-bidi-type-tab.c gen-mirroring-tab.c gen-unicode-version.c
Log Message:
Small fixes.
Index: gen-bidi-type-tab.c
===================================================================
RCS file: /cvs/fribidi/fribidi/gen.tab/gen-bidi-type-tab.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- a/gen-bidi-type-tab.c 22 May 2004 12:17:10 -0000 1.7
+++ b/gen-bidi-type-tab.c 24 May 2004 06:45:42 -0000 1.8
@@ -181,7 +181,9 @@
for (c = 0x0600; c < 0x07C0; c++)
table[c] = AL;
- for (c = 0xFB50; c < 0xFE00; c++)
+ for (c = 0xFB50; c < 0xFDD0; c++)
+ table[c] = AL;
+ for (c = 0xFDF0; c < 0xFE00; c++)
table[c] = AL;
for (c = 0xFE70; c < 0xFF00; c++)
table[c] = AL;
@@ -200,9 +202,7 @@
for (c = 0x10800; c < 0x11000; c++)
table[c] = RTL;
- for (c = 0xE0000; c < 0xE0100; c++)
- table[c] = BN;
- for (c = 0xE01F0; c < 0xE1000; c++)
+ for (c = 0xE0000; c < 0xE1000; c++)
table[c] = BN;
}
}
Index: gen-mirroring-tab.c
===================================================================
RCS file: /cvs/fribidi/fribidi/gen.tab/gen-mirroring-tab.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- a/gen-mirroring-tab.c 22 May 2004 11:21:40 -0000 1.5
+++ b/gen-mirroring-tab.c 24 May 2004 06:45:42 -0000 1.6
@@ -98,7 +98,7 @@
static int mirroring_count;
static void
-init_tab (
+init (
)
{
register FriBidiChar i;
@@ -128,10 +128,7 @@
k = sscanf (s, "%lx; %lx", &i, &j);
if (k != 2 || i >= FRIBIDI_UNICODE_CHARS || j >= FRIBIDI_UNICODE_CHARS)
- {
- die4 ("invalid pair in input at line %ld: %04lX, %04lX", l, i, j);
- continue;
- }
+ die4 ("invalid pair in input at line %ld: %04lX, %04lX", l, i, j);
table[i] = j;
mirroring_count++;
}
@@ -197,7 +194,7 @@
char *data_file_type = argv[1];
char *data_file_name = argv[2];
- init_tab ();
+ init ();
read_data (data_file_type, data_file_name);
gen_mirroring_tab (data_file_type);
}
Index: gen-unicode-version.c
===================================================================
RCS file: /cvs/fribidi/fribidi/gen.tab/gen-unicode-version.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- a/gen-unicode-version.c 22 May 2004 11:21:40 -0000 1.3
+++ b/gen-unicode-version.c 24 May 2004 06:45:42 -0000 1.4
@@ -82,7 +82,7 @@
char unicode_version[100];
static void
-init_tab (
+init (
)
{
version_major = version_minor = version_micro = 0;
@@ -160,7 +160,7 @@
char *data_file_type = argv[1];
char *data_file_name = argv[2];
- init_tab ();
+ init ();
read_data (data_file_type, data_file_name);
gen_unicode_version (data_file_type);
}
More information about the FriBidi-Commit
mailing list