[FriBidi-commit] fribidi/gen.tab gen-bidi-type-tab.c,1.2,1.3
Behdad Esfahbod
behdad at pdx.freedesktop.org
Wed May 12 01:17:21 PDT 2004
- Previous message: [FriBidi-commit] fribidi/lib .cvsignore, 1.1,
1.2 fribidi-unicode-version.h, 1.1.1.1, NONE
- Next message: [FriBidi-commit] fribidi/lib .cvsignore, 1.2, 1.3 Makefile.am, 1.5,
1.6 common.h, 1.7, 1.8 fribidi-bidi-type.c, 1.5,
1.6 fribidi-common.h, 1.4, 1.5 fribidi-unicode.h, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/fribidi/fribidi/gen.tab
In directory pdx:/tmp/cvs-serv19424/gen.tab
Modified Files:
gen-bidi-type-tab.c
Log Message:
Better handling with Unicode info.
Index: gen-bidi-type-tab.c
===================================================================
RCS file: /cvs/fribidi/fribidi/gen.tab/gen-bidi-type-tab.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/gen-bidi-type-tab.c 12 May 2004 07:06:21 -0000 1.2
+++ b/gen-bidi-type-tab.c 12 May 2004 08:17:19 -0000 1.3
@@ -124,7 +124,6 @@
#define table_name "FriBidiCharTypeData"
#define macro_name "FRIBIDI_GET_BIDI_TYPE"
-#define default_type "LTR"
static int table[FRIBIDI_UNICODE_CHARS];
@@ -134,8 +133,6 @@
{
register int i;
register FriBidiChar c;
- char deftype = get_type (default_type),
- RTL = get_type ("RTL"), AL = get_type ("AL");
for (i = 0; i < type_names_count; i++)
names[i] = 0;
@@ -144,7 +141,7 @@
/* initialize table */
for (c = 0; c < FRIBIDI_UNICODE_CHARS; c++)
- table[i] = deftype;
+ table[i] = LTR;
for (c = 0x0590; c < 0x0600; c++)
table[i] = RTL;
for (c = 0xFB1D; c < 0xFB50; c++)
@@ -225,7 +222,7 @@
if (!pack_table
(table, FRIBIDI_UNICODE_CHARS, 1, max_depth, 3, names,
- "char", table_name, macro_name, stdout))
+ "unsigned char", table_name, macro_name, stdout))
die ("error: insufficient memory, decrease max_depth");
printf ("/* End of generated " outputname " */\n");
- Previous message: [FriBidi-commit] fribidi/lib .cvsignore, 1.1,
1.2 fribidi-unicode-version.h, 1.1.1.1, NONE
- Next message: [FriBidi-commit] fribidi/lib .cvsignore, 1.2, 1.3 Makefile.am, 1.5,
1.6 common.h, 1.7, 1.8 fribidi-bidi-type.c, 1.5,
1.6 fribidi-common.h, 1.4, 1.5 fribidi-unicode.h, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the FriBidi-Commit
mailing list